If jQuery’s toggle() is used on a <div> containing form elements, will those form elements get submitted with the form, even though they are hidden?
My code (though probably not needed for this particular question):
$('.cms_loop_title').click(function(){
$ctg = $(this).attr('rel');
$('.'+$ctg).toggle();
//alert($ctg);
});
In order to prevent submitting, you have to disable the elements. Hiding doesn’t do the trick (I had the same issue a while ago)