the was a typo here. It's correct in the source code.
Ultimatately the issue wasn't with the Jquery, it was with how IE6
executes javascript faster than it renders dom elements, even when the
javascript is nested in a $(document).ready() function. Re-factoring
the code so that I'd create the o
lem with ".val" (grabbed it from an example). If I
> remember correctly I changed it to ".value" and it worked.
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
>
> Behalf Of James
> Sent: Tuesday, Oc
lem with ".val" (grabbed it from an example). If I
> remember correctly I changed it to ".value" and it worked.
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
>
> Behalf Of James
> Sent: Tuesday, Oc
ps.com] On
Behalf Of James
Sent: Tuesday, October 13, 2009 9:41 PM
To: jQuery (English)
Subject: [jQuery] Re: ie6 and .val() issue
Maybe it's this then:
Default
is suppose to be
On Oct 13, 3:27 pm, Daniel Murker wrote:
> $(document).ready(function(){
>
> and
>
> $().ready(fun
Maybe it's this then:
Default
is suppose to be
On Oct 13, 3:27 pm, Daniel Murker wrote:
> $(document).ready(function(){
>
> and
>
> $().ready(function()
>
> are interchangeable. that's not what's throwing the error.
>
> This line is:
>
> $("#selectbox").val("value");
>
> On Oct 13, 5:36 pm,
$(document).ready(function(){
and
$().ready(function()
are interchangeable. that's not what's throwing the error.
This line is:
$("#selectbox").val("value");
On Oct 13, 5:36 pm, James wrote:
> The line is:
>
> $(document).ready(function(){
>
> On Oct 13, 2:08 pm, Daniel Murker wrote:
>
>
The line is:
$(document).ready(function(){
On Oct 13, 2:08 pm, Daniel Murker wrote:
> I've come across an issue where doing something along the lines of
>
> $().ready(function(){
> $("#selectbox").val("value");
>
> });
>
> Throws the following error in IE6
>
> Could not set the Selected Pr
7 matches
Mail list logo