dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips

DOM

9 of 9     Previous     Next
Adding Custom Attributes to HTML Elements
by Deepak Choudhari
A custom attribute is any user-defined attribute, just like other primitive HTML element attributes. You can add custom attributes to any HTML element.
How to Warn Users Before Their Browser Closes
by Deepak Choudhari
Suppose a user enters some information on the page and tries to close or navigate from the window—without saving the data. You may want to warn the user about possible data loss.
Invoke a Parent Window Function from Another Window in JavaScript
by Deepak Choudhari
Sometimes, you need to call a JavaScript function that's in a parent window from a child window.
Using the innerHTML Property
by Ganjoo Anu
To change the text that appears when users chick on a button in your program, use JavaScript's innerHtml property.
Use LSOutput and LSSerializer to Serialize a DOM Tree
by Leonard Anghel
This tip shows you how to use the LSOutput/LSSerializer interfaces (from the DOM Load and Save API) for serialize a DOM tree.
Apply an Identical Transformation to a DOM Tree Using TrAX
by Leonard Anghel
The code in this tip is a full example that applies an identical transformation to a DOM tree.
Javascript Errors in Firefox
by Balasubramanian Krishnaswamy
Because browsers other than IE don't create global variables for every part of the page/DOM, you need to qualify references to the form and its elements in non-IE browsers.
Using XMLSchema DOM and SAX in JAXP 1.2
by Leonard Anghel
To use take advantage of the power of XMLSchema in a SAX or DOM application, you simply have to set two properties.
Traverse All the Nodes of a DOM Tree
by Leonard Anghel
This is just a litle method that illustrates how to get the minimum of information from all nodes of a DOM tree. The key of this method is the "old-school" recursive style.
9 of 9     Previous     Next
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date