|
Need help
Hi, I am stuck on this problem for a few day and need some help. I am trying to display a field that have a match record with another table but I am stuck. Can anyone help me?
Thanks.
function showFields() {
setStatus("Loading...")
var ID = document.getElementById("ID").value;
//this line giving me error message "Object Required."
var SubNbr = document.getElementById("SubscriberID").value;
if (ID != ''){
var m = doAjaxCall("ShowFields", "{'ID':"+ID+"}" );
if (m.substring(0,7) != "ERROR: "){ //We have the form data now load the form
//We need a funciton to return the data.
dispForm(frmCDC, m);
getFormField(SubNbr, m);
setSelect(ID);
setStatus("Idle...");
}
else{
alert(m);
setStatus(m);
}
}
else
setStatus("Idle(No Match)...");
Adding = false;
};
|