[jquery-dev] Re: Problem with form validator

2009-07-14 Thread Leonardo K
Use the invalidHandler function. $('#change-form') .jqTransform() .validate({ invalidHandler: function(form, validator) { $("#loading").hide(); }, submitHandler: function(form) { $(form).ajaxSubmit({ success: function() {

[jquery-dev] Re: What does this error message mean?

2009-04-13 Thread Leonardo K
*From jQuery site: Note:* In jQuery 1.3 [...@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the '@' symbol from your selectors in order to make them work again. Remove the @ from your code to make work. ([Exception... "'Syntax error, unrecognized

[jquery-dev] Re: Prepend vs Before

2009-03-09 Thread Leonardo K
Prepend insert content inside the matched element at the beginning. Before insert content before the matched element On Mon, Mar 9, 2009 at 14:36, mwalsh wrote: > > Hi, > > I'm puzzled why this script works: > > $('.toggle').prepend('Collapse').click > (function() { >alert('toggle'); >