News for hackers. Stuff that matters.
Re:5 Tips for Better jQuery Code by tptacek on Thursday November 20, 2008 @10:49AM (#370667)
Most UI code written in JS is a variant of "find something in the DOM and change it". Most JS frameworks are really UI frameworks. And in evolutionary terms, we are with JS where X11 was around the time when Xt came out; there's Motif if you want it, but I might just stick with Xt and wait for Gtk.

What are the cross-browser issues you're thinking jQ won't handle for you?

Re:5 Tips for Better jQuery Code by axod on Thursday November 20, 2008 @11:22AM (#370696)
Things like IE scrollbars covering the content, word-wrap weirdness, designMode idiocy.. Differences in how iframes are handled - Things like that. Not to mention all the IE6 rubbish like if you set left and right, it can't figure out width.

"Most UI code written in JS is a variant of "find something in the DOM and change it"."

I'd agree to a point, but I'd note that ideally you want to keep handy js references to what you have in the DOM so you don't have to find it again. And if you put it in the DOM, you don't ever have to find it, you just store it somewhere handy. Constantly performing search operations just isn't efficient.