[jQuery] Re: Validate remote: passing multiple variables?

2008-09-10 Thread ryanstreet
\:\bb\},     b: 2,     c: 3,     d: 4,     e: 5 }'; $.post(url,             {data:json},             function() { //xxx}); hth, George On Sep 10, 5:14 am,ryanstreet[EMAIL PROTECTED] wrote: Does anyone know of a way to pass multiple form fields into one remote call in the validate

[jQuery] [validate] calling multiple fields in one remote: call?

2008-09-10 Thread ryanstreet
Is there a way to call multiple fields into one remote: call in the validate script? I have a credit card validation that is dependent on the card selected in an above select box. Example: $(document).ready(function(){ var options = { target:'#formResult', // target

[jQuery] Re: Simple toggle question…

2008-09-10 Thread ryanstreet
Usually, (but not always), a toggle() is used in an onclick action. Usually it is used to show or hide an element. Try something more like this: a href=javascript:void(0); id=thing onclick=$ ('#showresults').toggle();click/a div id=showresults ul id=resultsview class=list liblah/li

[jQuery] Re: [validate]

2008-09-10 Thread ryanstreet
What is directly after your select box? Sometimes if you have something that is either hidden or somewhat difficult to see, it will append to that instead and not show you your error message. errorPlacement: function(error, element) { $('#errordiv').show();

[jQuery] Re: Cancel .toggle() when a link is clicked

2008-09-10 Thread ryanstreet
perhaps, if you are looking to have an element shown for an indefinite period of time, perhaps just using show() and hide() are more up your alley. So instead of toggle for a div, use show and hide elements. That way, you don't have to write super functions and whatnot. That is the joy of

[jQuery] How to validate multiple fields with AJAX simultaneously before submit

2008-09-09 Thread ryanstreet
Hello, I am working with Jquery's validate script and form script as well for Ajax submits. I want to validate a credit card field against another field with my ajax call, but the way the form is set up it only spits one field per validation. Any ideas or help? Thanks in advance! snippet:...

[jQuery] Validate remote: passing multiple variables?

2008-09-09 Thread ryanstreet
Does anyone know of a way to pass multiple form fields into one remote call in the validate script in Jquery? Any help appreciated. rules: { Field1: { required: true, remote: /path/to/script.php