seriousy? i cant find anything on google is there like a page regarding this kind of stuff?

Recommended Answers

All 6 Replies

in Firefox you can use the built-in document.querySelector and document.querySelectorAll which use CSS selectors to find DOM elements. Similarly using the jQuery library you can do things like

$('#somediv > p') // returns all p tags that are children of a div with the ID of somediv

interesting but only for users who r using firefox?

Well that only applied to the document.querySelector part. jQuery supports pretty much every modern browser. http://jquery.com

yeah i dont like jquery. too comlicated

jQuery is actually one of the simplest Javascript libraries around. It's important to know at least a one be it jQuery or Prototype or Mootools, etc. The reason those libraries exist is to save you time and effort.

well i dont understand the javascript that well yet so jquery is hard as well

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.