Home › Forums › JavaScript › jQuery placeholder in IE passing validation… › Re: jQuery placeholder in IE passing validation…
October 26, 2011 at 6:57 pm
#89696
Member
Just in case anyone further reads or cares lol
I got it right above pretty much, but had the wrong assignment operator instead of the comparison operator.
Got it working now :D
if(empty($name)){
$errors = '*';
} else {
if ($name == "Name") {
$errors = '*';
}
}