i have 3 remote validation in my form and 3 of them works with no errors in firefox console. the 3rd one is not working properly in IE. IE gives me the error "object doesnt support this property"
this gives an error in IE check.php:
< ?php
$sql="select * from people where email = '".$email."'";
$row=mysql_query($sql,$db_connection);
if (!$row)
{
die('Error: ' . mysql_error());
}
if (mysql_num_rows($row) > 0)
{
$output = false;
}
else
{
$output = true;
}
echo json_encode($output);
?>
here is the corresponding jquery:
email: {// compound rule
required: true,
email: true ,
remote: "check.php"
},
any ideas why its throwing an object error in IE. note firefox error console doesn't show any errors! thanks