sunanda21
16 Apr 2007, 5:05 PM
Hi All,
Iam using formUpdate() method of Tab, but its not posting my data(means the post request is completed by my fields are not posted)
i placed an alert in showUpdate method in yui-ext.js after
formEl=YAHOO.util.Dom.get(form);
the alert is alert(formEl);alert(formEl.innerHTML);
when i pass form id with formUpdate then my first alert is null then i get jsExceptions saying formEl is null
when i pass form object with formUpdate then my first alert is object , second alert is empty(nothing is printed in alert);
then i given YAHOO.util.Dom.get(formid) and alerts in my code , its working fine its giving correct info
and also iam unable to use Form.serialize(form) in my script its giving Form is null or not an object JS error.
please help me
Iam using formUpdate() method of Tab, but its not posting my data(means the post request is completed by my fields are not posted)
i placed an alert in showUpdate method in yui-ext.js after
formEl=YAHOO.util.Dom.get(form);
the alert is alert(formEl);alert(formEl.innerHTML);
when i pass form id with formUpdate then my first alert is null then i get jsExceptions saying formEl is null
when i pass form object with formUpdate then my first alert is object , second alert is empty(nothing is printed in alert);
then i given YAHOO.util.Dom.get(formid) and alerts in my code , its working fine its giving correct info
and also iam unable to use Form.serialize(form) in my script its giving Form is null or not an object JS error.
please help me