I have one line of code that I’m mixing JQuery / HTML but I think I have a syntax error somewhere around the <a href Can anyone spot the issue please?
Here is the code:
$("<div><a href="http://google.com>""+today+"</a></div>")
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.
Try this:
Alternate:
Quotes wrapped in quotes of the same type need to be escaped with a backslash.
You also needed the quotes to wrap the href value correctly.