> Another question: i want to disable the submit event of the form,  
> yet my code doesn't work "form.unbind is not a function"
>
> var $this = jQuery(this);
> var form = $this[0].form;
> form.unbind("submit");

I think the problem is that the form variable is a DOM variable, and  
you need to wrap it in jQuery to unbind, so change last line to
$(form).unbind('submit');

Andreas

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to