jQuery in Action
160
CHAPTER 6
jQuery utility functions
The example code was executed in six modern browsers--Firefox, Safari, Opera,
Camino, Internet Explorer 7, and OmniWeb--giving representation from each of
the four browser families supported by the jQuery
Camino, Internet Explorer 7, and OmniWeb--giving representation from each of
the four browser families supported by the jQuery
$.browser
flag set. As can be
seen, the addition of the option occurs correctly in each of the browsers.
Figure 6.1 The option-adding functionality works flawlessly in a wide range of browsers.