Try $('#residentsSelect').change(function(){ document.location.href=$("#residentsSelect [EMAIL PROTECTED]").val(); return false; });
On Nov 16, 5:48 pm, ISSSSI <[EMAIL PROTECTED]> wrote: > Hello, > > I have the following http://richmondshire.riverprojex.com/page the > select boxes are wired upto change event. When user picks item the page > redirects. The issue is for some reason the first item does not trigger the > change event. My code looks like this > > $('#residentsSelect').change(function(){ > document.location.href=$('#residentsSelect option:selected').val(); > //have to do this to stop the post back which occurs > return false; > > }); > > Any ideas? > -- > View this message in > context:http://www.nabble.com/Select-change-event-on-item-1-not-firing-tf4822... > Sent from the jQuery General Discussion mailing list archive at Nabble.com.