Code: Select all
var partnum=$('.PARTNUM').val();
if (partnum==null || partnum=="") {
alert("Unable to get the part number");
return false;
}
var successCallBack=function(data){alert(data)};
var failureCallBack = function(reason){alert(reason)};
$eb.executeFunctionAsynchronously(successCallBack, failureCallBack,"BOMAnalysis",partnum);
return false;
I have another form that also calls executeFunctionAsynchronously in a similar way but you can still interact with the form and it responds to events normally.