[jQuery] client side serialize issue

2009-12-29 Thread joshmckin
Hi folks hope I someone can helps with something simple In my rails project I have a jquery connected sortable that current sends updates to a hidden field using ajax $(function() { $("#sortable1, #sortable2").sortable({ connectWith: '.connectedSortable',

[jQuery] is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
I'm very new to jquey and javascript and need some help with a function. The function shows is a div if any of a list of check boxes are clicked and only hides this div if all the check boxes are unchecked The below code works in Firefox and Safari without issue, but in order to show or hide the

[jQuery] Re: is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
Click worked, thanks. On Jan 14, 10:19 am, Šime Vidas wrote: > try using the click event instead of change

[jQuery] Re: is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
ahhh even better, thanks Sime On Jan 14, 12:36 pm, Šime Vidas wrote: > $("input.ach").click(function() { >     if ($("input.ach").is(":checked")) { >         $('#sec_codes').show('fast'); >     } else  { >         $('#sec_codes').hide('fast'); >     } > > });

[jQuery] Re: is there a better way, and extra click to show/hide in ie8

2010-01-14 Thread joshmckin
fig['toggled']).hide('fast'); } }); }; //use $("input.ach").toggleServiceItems({ 'check_box_class' : 'ach', 'toggled' : 'sec_codes' }); On Jan 14, 1:45 pm, joshmckin wrote: >