views:

805

answers:

2

Hi I get the following error when I try to validate credit card, it seems to be a straight forward error, the catch is that it occurs even after the jquery.validate.js is included.

for some reason it is unable to find the function, and has broken my code.

did anyone encounter a similar problem?

(jQuery.validator.methods.creditcard(element.value, element)) is not defined.

A: 

Double triple quadruple check that the javascript is included. And give us the source of the page that is erroring so we can help you debug it.

Ryan Bigg
A: 

How exactly are you referencing it? The example on the jQuery site works fine for me: jQuery validation of credit card number.

ewalk