Name of JavaScript function to call when the item upload fails. It receives the JSON webroutine response as argument.

Default value

Blanks – No callback function will be called

Valid values

The name of the JavaScript function to call (single quoted string). The function should take a JSON webroutine object as a parameter.


function failCB(wr) {

   var msgs = wr.messages();

   msgs.each(function(m) {

      alert("Message: " + m);