I have 4 <select></select> elements in my form. Usually when submitting the form you would get this in the url, e.g.
index.html?day=01&month=01&year=1999&reporter=Joe+Blogs
However in my interface users are switching between the date picker and the person picker. Is it possible to only send the values on the select that is active?
[I started writing this to post to you guys but then I had a thought and checked out the disabled attribute of form elements – so in the spirit of stack over flow I have entered my own answer too]
Why you disable this in javascript though?
You should make a server-side decision anyway, what if server gets the both person and date parameters (e.g. someone who has javascript disabled or just jquery blocked…)