[jQuery] Re: $("ul li a").hover

2010-01-15 Thread d...@amystdesign.com
That depends upon which element has the ID or class that you're hoping to select, for instance, if you have: List Item Text or wrote: > Hi, > > Im new to jquery. > > I have a .hover that is applied to all ul li a > $("ul li a").hover > > Question: How can I apply the .hover to a specific cl

[jQuery] Re: Only one of two fields is required. How to implement this logic in Jquery form validation?

2009-10-12 Thread d...@amystdesign.com
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 .att

[jQuery] [validate] credit card number validation fix

2009-04-26 Thread d...@amystdesign.com
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 als