Re: [jQuery] Create a function?

2009-11-24 Thread Michael Geary
} >return false; > > }); >}); > > } > > I checked with firebug that all the scripts do infact load. > > Thanks again, > > Dave > > -Original Message- > From: Michael Geary [mailto:m...@mg.to] > Sent: November-24-0

RE: [jQuery] Create a function?

2009-11-24 Thread Dave Maharaj :: WidePixels.com
return false; }); }); } I checked with firebug that all the scripts do infact load. Thanks again, Dave -Original Message- From: Michael Geary [mailto:m...@mg.to] Sent: November-24-09 11:44 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Create a fu

Re: [jQuery] Create a function?

2009-11-24 Thread Michael Geary
ion( '#newAward', validate_awards ); > }); > > > But when I load the page I get: > setValidation is not defined > > Ideas where I screwed up? > > Thanks again. > > Dave > > -Original Message- > From: Michael Geary [mailto:m...@mg.to] >

RE: [jQuery] Create a function?

2009-11-24 Thread Dave Maharaj :: WidePixels.com
I get: setValidation is not defined Ideas where I screwed up? Thanks again. Dave -Original Message- From: Michael Geary [mailto:m...@mg.to] Sent: November-24-09 10:02 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Create a function? Your code could end up looking something

RE: [jQuery] Create a function?

2009-11-24 Thread Dave Maharaj :: WidePixels.com
Thank you very much. I will try it out. Dave -Original Message- From: Michael Geary [mailto:m...@mg.to] Sent: November-24-09 10:02 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Create a function? Your code could end up looking something like this: function setValidation

Re: [jQuery] Create a function?

2009-11-24 Thread Michael Geary
Your code could end up looking something like this: function setValidation( selector, validator ) { $(document).ready( function() { var $form = $(selector); $form.submit( function() { $form.validate( validator ); var valid = $(this).valid();