That depends upon which element has the ID or class that you're hoping
to select, for instance, if you have:
ul
lia class=test-classList Item Text/a/li
/ul
or
ul id=nav-menu
liaList Item Text/a/li
/ul
Then you would want
$(a.test-class).hover(...);
or
$(#nav-menu li a).hover(...);
It will be confusing for someone filling out your form if you leave
both fields available at the same time, instead... when the user
enters text into one of the fields why don't you run an onChange or
onKeyPress check to see if they've entered something and if so,
disable/hide the other field
I was using an input mask plug-in on the form as well, which I found
was causing the creditcard validator to fail (due to the spaces in the
mask between the (4) character groups).
This was fixed by moving line: 1017 to just above line: 1011 which
tests for only characters [^0-9-].
This could
3 matches
Mail list logo