user405398
user405398

Reputation:

Remote validation of jquery validation plugin is breaking in jquery 1.5?

We are using jquery validation plugin in our project. Recently we have upgraded our jquery version to 1.5. It reasonably increased the speed and performance of our project. But remote validations are breaking with this version.

Actually, the remote servlet sending the expected response. But in client side, it was omitted by the script.

Is there any other people with this same issue?

Any idea about, how i can overcome this problem?

Any suggestions would be appreciative!

Thanks

Upvotes: 0

Views: 433

Answers (2)

Rupeshit
Rupeshit

Reputation: 1466

The solution of this problem is just in the strong support of ajax protocol by jquery 1.5.

Try to use something like this on the server side of your application(php):

$check = 'true';
header("Content-type: application/json; charset=windows-1251");
$result = $_REQUEST['callback'].'('.$check.')';
echo $result;

To do this in Java
refer this

Upvotes: 1

Related Questions