Any idea why this is happening? Tearing my hair out here. Tried debugging in FF/Chrome but not even getting a warning.
I tried changing the button to just me a regular <input type=submit> deal, but for some reason the form doesn't process as it should, doesn't send the file attachments along with it, so I'm sure the previous developer went that route for some reason -- I just haven't figured out why yet.
Important: make sure there is no other element with the name="submit" nor id="submit". IE will hesitate between submit and submit(), as it is able to take the ids and names as Global variables.
This seems to have fixed it. Was going to be hard/impossible for me to post a test page due to NDAs and such.
What was exactly wrong with what was being done before? I'm just curious and want to learn. Not sure why it was only occurring on Windows 7 IE, I couldn't duplicate it on my XP box with IE6/7/8.
submit() is a method which must belong to a FORM element. Written alone, it will be taken as a function belonging to the Global Window Object, which is illogical. IE9/Win7 is right.
Bookmarks