Friday, November 28, 2008

[jQuery] quote standards

I've started using a single quote inside of all $() when quotes are
needed because it makes creating DOM elements much simpler. $('<a
href="/path"></a>') or $('<div id="anId"></div> and for consistency
doing $('#anId'). Anyone else doing the same thing?

Josh Powell

No comments: