D
DrKen
In looking at various JavaScript examples, I see a lot of
inconcsistency over when to use ' ' and when to use " ". For
example, should I code
var user = document.getElementById('userid');
or
var user = document.getElementById("userid");
Is there a rule I can follow to decide which kind of quote to use?
I'm used to languages that are very very picky about this. Thanks.
Ken
inconcsistency over when to use ' ' and when to use " ". For
example, should I code
var user = document.getElementById('userid');
or
var user = document.getElementById("userid");
Is there a rule I can follow to decide which kind of quote to use?
I'm used to languages that are very very picky about this. Thanks.
Ken