When I use a hidden field and set its "name" and then find the element
by "name" in a javascript and then set its value,
after firing AJAX transaction, the value is not included in the request
map. The value is set correctly in the browser side.
However, if I use "id" of the hidden filed and use getElementById()
and then set the value, in this case during AJAX
transaction, the request map correctly contains the value of the hidden
field.
In case of submitting the form, both cases work fine.
When I use a hidden field and set its "name" and then find the element by "name" in a javascript and then set its value, after firing AJAX transaction, the value is not included in the request map. The value is set correctly in the browser side.
However, if I use "id" of the hidden filed and use getElementById() and then set the value, in this case during AJAX transaction, the request map correctly contains the value of the hidden field.
In case of submitting the form, both cases work fine.
Environment
Operating System: All Platform: Macintosh
Affected Versions
[current]