![]() The following example demonstrates another extremely important function of jQuery-protecting the DOM. Particularly important is that this compensation has generally been tested on all officially supported browsers and therefore works rather reliably. Plus the underlying mechanisms compensate for various weaknesses of the standard access methods, above all by compensating for browser-dependent particularities and supplementing various missing functions of the pure DOM concept. Most frameworks therefore offer a system via which this access can take place with an abbreviated, unified approach. This involves a lot of effort and is susceptible to errors. ![]() In particular, you usually have to enter many characters when accessing just a single element of the web page (or a group). For this type of access, there are several standard techniques, 2 each of which has its own weaknesses. If you already have some basic knowledge of programming on the Web, 1 you already know that you can access the components of a web page via JavaScript or another script language in the browser via an object model with the name Document Object Model (DOM). ![]() Accessing Elements and Protecting the DOM The examples in this book have been created with jQuery 1.8.2 or later, but often any version from 1.3 or at least 1.4.1 onward is sufficient. ![]() For the examples in this chapter, but also most examples in the following chapters, it is not relevant which specific version of jQuery you are using. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |