This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using jQuery 1.4.3. In the following function I am setting a dropdown list to a DISABLED attribute as follows:
The issue is that when the form is SUBMITTED, the dropdown list becomes ENABLED for some reason if there is an error on the form. I need the dropdown list to maintain the DISABLED attribute AFTER the form is submitted. Am I doing something wrong in the code above that would alter the attribute after the form is submitted?
I tried creating a .submit function to validate a multitude a fields in my form but I don't know how to get the attribute of the dropdown list. Can someone please tell me how to do this?
Any suggestions/direction would be appreciated. Thank you.