xajax: submit disabled fields

by prettyscripts on 2008-06-30 14:15:50

javascriptxajax

by default xajax.getFormValues does not pass values from disabled fields. as previously noted, it is browser standard not to submit disabled fields.

with xajax.getFormValues(), disable field can still be submitted. by setting 2nd optional parameter to true or 1.

Code:

xajax_function(xajax.getFormValues('form_id', 1));

Tags: disabled field, form, submit, xajax

No feedback yet

Leave a comment


Your email address will not be revealed on this site.
PoorExcellent
note: all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)