What am i doing wrong?
function error_msg(code)
{
if (code=="pass")
{
alert(code); //pops/works
$('#error').addClass("notification fail").fadeIn(); //does nothing
$('#error').html('<strong>Incorrect Password</strong><span style="color:black"> - Please try again.</span>');//does nothing
}
}
Any help will be appriciated :-)