That should work. You could try the "shortcut", instead of $('[EMAIL PROTECTED]"submit"]') you can use $(':submit').
Karl Rudd On Dec 11, 2007 12:55 PM, Raymond <[EMAIL PROTECTED]> wrote: > > I am trying to add a click event to all form input's that are type of > submit. The following works great in Opera and FF but does not work in > IE. I have tried numerous various without success. > > $('[EMAIL PROTECTED]"submit"]').click(function () > { > //do stuff > }); > > I have a very similar type of implementation which catches links that > go to external websites and it works great: > > $('[EMAIL PROTECTED]"external"]').click(function() > { > //do stuff > }); > > Why would one work and the other not? >