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, Marie du Toit <[EMAIL PROTECTED]> wrote:
> 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 advance,
> Marie
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/