\:\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
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
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
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();
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
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:...
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
7 matches
Mail list logo