[jQuery] jquery validation question: validate a single form element onsubmit

2009-02-28 Thread Eben Goodman
I'm using the validate plugin, and am having a problem with simple one element forms. I have a single select list and a submit button. If the select list is empty, the validation prompts that it is required. When you choose an option, and click Submit, it validates and removes the required messa

[jQuery] jquery validation on remote rule requires two submits

2008-12-29 Thread eben
I am using the validate plugin with a form that has one select element and no other elements. I am using the required and remote rules to validate this element. When I click submit the first time, it performs the remote validation, but doesn't submit the form. A second click on the submit button

[jQuery] validate plugin with one element

2008-12-24 Thread eben
y(function() { // validate signup form on keyup and submit $("#the_form").validate({ rules: { element: { remote: "remote.php" } } }); thanks, Eben

[jQuery] using validate plugin in conjunction with form plugin (ajax submit)

2008-12-09 Thread Eben Goodman
I'm trying to submit a form via ajax using the form plugin, and also perform some validation, using the validate plugin. The problem I'm having is that when I submit the form, it performs the validation, but also submits it and returns the ajax response, regardless of the validation result... I n

[jQuery] question on using toggle() properly

2008-08-27 Thread eben
I am fairly new to jquery and still trying to get my head around some proper implementation. I'm hoping someone can explain why this works: function doToggle(id){ id = '#'+id; $(id).toggle(); } but, this does not: function doToggle(id){ id = '#'+id; $(id).toggle( function(){alert('something');