[jQuery] ie6 submit button error

2007-01-25 Thread Marie du Toit
Hi, I found the following error, This command is not supported, when trying this line of code in IE6, $(':submit').attr({ src: images/button_submit.png, type: image }); This works fine in Firefox. I have the latest update of jQuery and I'm currently using the compressed version. Thanks in

Re: [jQuery] ie6 submit button error

2007-01-25 Thread Karl Rudd
My guess is that IE doesn't like you changing the type of the INPUT element from submit to image. I'd advise doing something along this line (untested code): $(':submit') .attr('disable','true') .hide() .before( $('input src=images/button_submit.png type=image') ); Karl Rudd On 1/25/07,

Re: [jQuery] ie6 submit button error

2007-01-25 Thread Karl Rudd
Bah. I missed a closing bracket. $(':submit') .attr('disable','true') .hide() .before( $('input src=images/button_submit.png type=image') ); Karl Rudd ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] ie6 submit button error

2007-01-25 Thread old9
t many brackets, that's why jQuery always drove me crazy. :D On 1/25/07, Karl Rudd [EMAIL PROTECTED] wrote: Bah. I missed a closing bracket. $(':submit') .attr('disable','true') .hide() .before( $('input src=images/button_submit.png type=image') ); Karl Rudd

Re: [jQuery] ie6 submit button error

2007-01-25 Thread Blair McKenzie
Breaking lines and indenting help. Blair On 1/25/07, old9 [EMAIL PROTECTED] wrote: t many brackets, that's why jQuery always drove me crazy. :D On 1/25/07, Karl Rudd [EMAIL PROTECTED] wrote: Bah. I missed a closing bracket. $(':submit') .attr('disable','true') .hide() .before(

[jQuery] ie6 submit button error

2007-01-24 Thread Marie du Toit
Hi, I found the following error, This command is not supported, when trying this line of code in IE6, $(':submit').attr({ src: images/button_submit.png, type: image }); This works fine in Firefox. I have the latest update of jQuery and I'm currently using the compressed version. Thanks in