You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/wamengb9_2655.htm]
You are here:

failCallback

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.
Example:
function failCB(wr) {
   var msgs = wr.messages();
   msgs.each(function(m) {
      alert("Message: " + m);
   });
}
[ |../../index.htm#lansa/wamengb9_2655.htm]

  • No labels