[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-05 Thread James
I see. Yeah, select elements doesn't work like that. Though I found that "click" can work that way if you give the select element with a size attribute: So if you re-click a selected element, it'll fire. Does this option fit with your design? On Feb 4, 6:01 pm, Pedram wrote: > Thanks , great ,

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread Pedram
Thanks , great , But consider the I want the user to Click in a Option which is selected right now and An event Fire Ups so Click dosen't work for IE and CHange doen't support it On Feb 4, 10:52 am, James wrote: > Change should work. > > $("select.actions").change(function(){ >      if ( $(this

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread James
I've never had any issues with it on any common browsers, including IE6. On Feb 4, 4:05 pm, Pedram wrote: > Ow Great so $(this).val() returns the Option value , is this > acceptable by IE because , I think I had a Problem with that before . > > On Feb 4, 10:52 am, James wrote: > > > Change shou

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread Pedram
Ow Great so $(this).val() returns the Option value , is this acceptable by IE because , I think I had a Problem with that before . On Feb 4, 10:52 am, James wrote: > Change should work. > > $("select.actions").change(function(){ >      if ( $(this).val() == 'NEW' ) alert('NEW was selected'); >  

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread James
Change should work. $("select.actions").change(function(){ if ( $(this).val() == 'NEW' ) alert('NEW was selected'); else alert('NEW was not selected'); }); On Feb 4, 6:56 am, Pedram wrote: > Dear folk , >  I have a select box with Multiple Options > Such as below > >   New/Edit >   1