6. Accessing the Elements of a Web Page

jQuery offers you numerous methods for accessing the web page or manipulating its content/structure. Manipulating in the context of this chapter means inserting nodes into the site or removing them or changing the content or structure of a node. In addition, you can traverse a web page to find specific nodes and contents quite well in jQuery with various methods. This long and in part somewhat theoretical but immensely important foundation chapter introduces these techniques, which are strongly based on the already discussed navigation on trees plus filters and selectors. After all, accessing the elements of the web page is the basis of all dynamic effects that you want to program in the web page, be it ...

Get Learning jQuery: A Hands-on Guide to Building Rich Interactive Web Front Ends now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.