[jQuery] Re: Only works in FF

2009-05-15 Thread Mike Alsup
This works great in firefox, why doesn't this work in any other browser? Can the attribute onblur be added another way to work in all browsers? jQuery('#'+nameHex[0].replace(' ','__')+'_qty #'+fields[c].id).attr ('onblur' ,'setQtys();'); jQuery('#'+nameHex[0].replace(' ','__')+'_qty

[jQuery] Re: Only works in FF

2009-05-15 Thread Liam Byrne
Instead of .attr('onblur'. fn) Try .blur(fn) Tobeyt23 wrote: This works great in firefox, why doesn't this work in any other browser? Can the attribute onblur be added another way to work in all browsers? jQuery('#'+nameHex[0].replace(' ','__')+'_qty #'+fields[c].id).attr ('onblur'