HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by lean | Hacker News Reader
Parent
Full thread
lean
·
What about jQuery?
$('<div>', { class: 'content', id: pageId })
View on HN
smackjer
·
That's fine for a simple DOM element, but quickly gets out of control. Imagine a list rendered in a loop from a JSON array.
Reply on news.ycombinator.com