You're still applying options to the send property of the form on every submit (or click of the button).
See what I did here: http://jsfiddle.net/seanmonstar/nSpBg/1/ <http://jsfiddle.net/seanmonstar/nSpBg/1/>The send properties are set once, in the forEach loop. Then, when you click submit, only the data and url are included. On Sat, Nov 27, 2010 at 4:15 PM, Dailce <[email protected]> wrote: > Fixed the alert issue ie. Click it for the third time, alert happens > 3 times. > > http://jsfiddle.net/8ZhaE/ > > Still, I don't understand why the previous code > http://jsfiddle.net/nSpBg/2/ > would cause that behavior.
