3 ms·
This is just a selective repost of some of the tips from http://www.opensourcehunter.com/2010/02/27/26-cool-and-usefull-jquery-tips-tricks-solutions/ http://www
by simonw 17y ago
This is just a selective repost of some of the tips from http://www.opensourcehunter.com/2010/02/27/26-cool-and-usefull-jquery-tips-tricks-solutions/ http://www.opensourcehunter.com/2010/02/27/26-cool-and-usefu... - and they're not particularly good tips (using .html() to check if an element is empty seems pretty dodgy, for example).
- axod 17y agoWhat's wrong with using the DOM methods and properties as well? Not as sexy? :/ eg if(element.childNodes.length==0)
- adriand 17y ago> they're not particularly good tips I agree - not entirely sure how this climbed up so high on the front page. There are far better resources available, including the jQuery documentation itself, or http://net.tutsplus.com/tutorials/javascript-ajax/jquery-1-4-released-the-15-new-features-you-must-know/ http://net.tutsplus.com/tutorials/javascript-ajax/jquery-1-4...
- pistoriusp 17y agoI've flagged a bunch of posts like this over the last week? I think someone is trying to game the system here.