147Chapter 15 .Generic HTML Element Objects the browsers (Net web server)
147Chapter 15 .Generic HTML Element Objects the browsers treat form elements as focusable elements by default. Nonform elements usually don t receive focus unless you specifically set their tabIndex properties (or TABINDEX tag attributes). If you set the tabIndexproperty of one form element to 1, then that element is first in the tabbing order. Meanwhile, the rest fall into source code tabbing order on successive presses of the Tab key. If you set two elements to, say, 1, then the tabbing proceeds in source code order for those two elements and then onto the rest of the elements in source code order starting with the top of the page. In Internet Explorer, you can remove an element from tabbing order entirely by setting its tabIndex property to -1. Users can still click those elements to make changes to form element settings, but tabbing bypasses the element. Example (with Listing 15-16) on the CD-ROM Related Items: blur(), focus() methods. tagName Value: String Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility The tagName property returns a string of the HTML or (in IE5+ and NN6) XML tag name belonging to the object. All tagNamevalues are returned in all uppercase characters, even if the source code is written in all lowercase or a mixture. This consistency makes it easier to perform string comparisons. For example, you can create a generic function that contains a switch statement to execute actions for some tags and not others. The skeleton of such a function looks like the following: function processObj(objRef) { switch (objRef.tagName) { case TR : [statements to deal with table row object] break case TD : [statements to deal with table cell object] break case COLGROUP : [statements to deal with column group object] break default: [statements to deal with all other object types] } } On the CD-ROM elementObject.tagName
From our experience, we can recommend PHP5 Web Hosting services, if you need affordable webhost to host and run your web application.