[jQuery] Re: select() not working

2009-01-14 Thread ocptime
Hi all, It works. Thanks for the help. ocptime On Jan 14, 4:46 pm, "jQuery Lover" wrote: > OFFTOP: > > Ups, I meant *typo not *type (made a typo myself :) ) > > Sorry. > > - > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > > On Wed, Jan 14, 2009 at 4:44 PM, Bere

[jQuery] Re: select() not working

2009-01-14 Thread jQuery Lover
OFFTOP: Ups, I meant *typo not *type (made a typo myself :) ) Sorry. - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 4:44 PM, Beres Botond wrote: > > Ah yeah, sorry I didn't pay enough attention there :p

[jQuery] Re: select() not working

2009-01-14 Thread Beres Botond
Ah yeah, sorry I didn't pay enough attention there :p On Jan 14, 1:37 pm, "jQuery Lover" wrote: > *type: $jQ("#country_id").val(my_value); > > - > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > > > > On Wed, Jan 14, 2009 at 4:24 PM, Beres Botond wrote: > > > It se

[jQuery] Re: select() not working

2009-01-14 Thread jQuery Lover
*type: $jQ("#country_id").val(my_value); - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 4:24 PM, Beres Botond wrote: > > > It seems you don't know what .select() should be used for. It has > absolutely nothing to do with selecting and opt

[jQuery] Re: select() not working

2009-01-14 Thread Beres Botond
It seems you don't know what .select() should be used for. It has absolutely nothing to do with selecting and option of a select box. Read the docs carefully. http://docs.jquery.com/Events/select Try this instead (assuming that #country_id is a select box): $jQ("#country_id]").value(my_value)