Y
Hacker News
new
|
ask
|
show
|
jobs
by
lean
5493 days ago
What about jQuery?
$('<div>', { class: 'content', id: pageId })
1 comments
smackjer
5492 days ago
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.
link