[jQuery] Re: ie6 and .val() issue

2009-10-14 Thread Daniel Murker
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

[jQuery] Re: ie6 and .val() issue

2009-10-14 Thread oliver.pra...@googlemail.com
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

[jQuery] Re: ie6 and .val() issue

2009-10-14 Thread oliver.pra...@googlemail.com
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

[jQuery] Re: ie6 and .val() issue

2009-10-13 Thread Gene Berger
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

[jQuery] Re: ie6 and .val() issue

2009-10-13 Thread James
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,

[jQuery] Re: ie6 and .val() issue

2009-10-13 Thread Daniel Murker
$(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: > >

[jQuery] Re: ie6 and .val() issue

2009-10-13 Thread James
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