If jQuery\'s toggle()
is used on a
In order to prevent submitting, you have to disable the elements. Hiding doesn't do the trick (I had the same issue a while ago)
Yes, they'll get submitted unless they are removed from the document or have the disabled
attribute set on them.
For more information, see the HTML5 Working Draft — Section 4.10.22.4 Constructing the form data set. The information there is more-or-less the same as previous HTML versions.