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 Jquer
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:
click
blah
blah
This way, everything within the div will be hidden or shown when you
click on the link.
I hope this helps!!
O
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();
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 elem
t;
> json = '{
> "a": "{\"p\":\"cc\",\"m\":\"aa\",\"s\":\"bb\"}",
> "b": 2,
> "c": 3,
> "d": 4,
> "e": 5
>
> }';
>
> $.p
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"
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:...
7 matches
Mail list logo