|
January 27, 2001 Appending DOM Strings Tips: January 2001
Yehuda Shiran, Ph.D.
|
|
Internet Exploer 6 is richer in functionality than Internet Explorer 5.5 in its text manipulation support. The appendData() method is one example. Operating on text nodes, it appends a string to the text node data. Here is its syntax:
where:
Let's create a text node at the
and then let's append the string Here is the definition of this button:
and here is the function
People who read this tip also read these tips: Look for similar tips by subject: |