[jQuery] Re: val function for select with 'special character' not working

2007-10-01 Thread syg6
It was a jQuery version issue. Not sure how old 1.1.2 is but that's the version I was using. Upgraded to 1.2.1 and all is well. Thanks! Bob On 29 Set, 00:40, Wizzud [EMAIL PROTECTED] wrote: I can't tell what you're doing wrong - if anything - but the following works perfectly for me (using

[jQuery] Re: val function for select with 'special character' not working

2007-09-28 Thread Wizzud
I can't tell what you're doing wrong - if anything - but the following works perfectly for me (using v1.2.1) select id='app.id' name='fred' option value='11'one/option option value='22' selected='selected'two/option /select var t = $('#app\\.id').val(); // t is 22 syg6-2 wrote: In