Possible Duplicate:
When should I use double or single quotes in JavaScript?
Do "" and '' have different meanings in JavaScript?
Because I keep seeing those two usages in jQuery, for instance:
$("")
and
$('')
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.
No, they mean the same thing; they are both just JavaScript string literals.
Having have multiple different quote styles is useful so that:
"some string with 'single quotes' in it", or'a string with "double quotes" in it', and<button onclick="alert('foo')">Click me</div>