+ 1
Use double quotes, not single quotes. © JSlint.com
It's really better way? Or, for example, it's too bad to use semicolon after function? function(){ ----code };
2 Réponses
+ 2
don't need semi colon after function, and single or double quotes work the same. only time u may need one over the other is if you have nested quotes.