In my form there is a drop down list, and on button click I need to open 2 URLs, if user select option 1 then after button click a thank you page appear and another URL should be open.
I am able to open only one URL at current time. Please have a look at my fiddle.
In addition in my page there are few buttons and I want they should initally disabled so they don’t worj anymore. and I want to force user to fillup the form first then only he can access the other buttons.
Guys thanks for your Support.
One thing you can try is call a onchange function from select option. I think its lot cleaner and will help you later. here is what i tried
i tried it on jsfiddle http://jsfiddle.net/eXSND/
hope this helps