Entries Filed Under: Javascript
11:54am September 16, 2005
Submit Form onChange with JavaScript

I've been fighting with IE and FF for a couple days now, trying to get a JavaScript "onChange" to work. I wanted a table of employees to be automaticly updated when someone selected an option from a form drop down menu. I had no problem getting it to work in one or the other browser, but never in both browsers at the same time.

After searching around the net for a way to get this done, I finally found the correct way to get the job done in both IE and FF. By simply putting a 'onChange="Javascript:document.form1.submit()"' in the <select> tag, the form will automaticly submit the [Read More]

Views  6290 Comments  3
Filed under: Javascript
View Chris Thompson's profile on LinkedIn
Loading...