views:

205

answers:

0

Hi everybody

I am using jquery form validation plugin i.e (Jquery Form Validation by position-absolute.com) with php.

I wanted to validatte the username through ajax request. and specifying the class attribute of the text box with: class='validate[required,custom[email]] text-input ajax["ajaxUser":{"file:"index.php"}]'

But it doesnt works!!!

I want to specify custom filename for ajaxuser validation

"ajaxUser":{ "file":"validateUser.php", "alertText":"* This user is already taken", "alertTextOk":"* This user is available", "alertTextLoad":"* Loading please wait"}

I wanted to specify another filename like: "ajaxUser":{ "file":"myvalidatefile.php", "alertText":"* This user is already taken", "alertTextOk":"* This user is available", "alertTextLoad":"* Loading please wait"}

How can i do this. Kindly help

Thanks SIA