I have an if statement and for some reason I cant seem to get it to work, Can anybody see why?
I have a span tag that contains a string and im trying ot say if this string == X then do this, if not do something else.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Fiddle: http://jsfiddle.net/maniator/7YKgS/4/