Surprises in JavaScript: blocking double form submission

Monday, 22 January 2007

I cannot believe this is portable…

<form onsubmit="return this._x ? false : ( this._x = true );">

So I won’t believe it. Unless someone tells me otherwise.

digg stumbleupon del.icio.us reddit Fark Technorati Faves