thebigdir > References > DOM1 Reference

replaceData (method)

Owning interface and usage:  
CharacterData.replaceData(offset, count, arg)

Member of these other interfaces :  
CDATASection, Comment, Text

Description:  
Replace the characters starting at the specified 16-bit units offset with the specified string.

Parameters:  
unsigned long offset  -  The offset from which to start replacing.
unsigned long count  -  The number of 16-bit units to replace. If the sum of offset and count exceeds length, then all 16-bit units to the end of the data are replaced.
DOMString arg  -  The DOMString with which the range must be replaced.

Returns:  
nothing

Exceptions:  
DOMException INDEX_SIZE_ERR
Raised if the specified offset is negative or greater than the number of 16-bit units in data, or if the specified count is negative.
DOMException NO_MODIFICATION_ALLOWED_ERR
Raised if this node is readonly.


Example:
JavaScript:
  var txt = document.createTextNode('AAA-BBB');
  txt.replaceData(0, 4, 'DDDD');
  var output = txt.data;
Output:
desired your browser
DDDDBBB



_____________________________________________
Reference Search | Sitemap | Surf Clothing Glossary       thebigdir | internet users




Related sites:

 

Luxury designer linens bed sheets bedding

 

you got to check these guys out here: search engine optimization emarketing seo and Search Engine Marketing. It is exactly what you need.

 

 

visit Quiksilver Surf Camps and Surf School and book a surf lesson.

And for the girls you can visit this site Roxy Surf Camps and Surfing School to learn more about surfing and take a class as well.

 

If you want to see a good surf contest visit this site: Billabong Pro Pipeline Masters Surfing Contest 2007. You'll be glad you did.

Billabong Pro Pipe Pipeline Masters 2007 Surf Contest This website is one that you have to see at boardshort superstore quiksilver billabong swim suit hurley roxy quicksilver volcom

 

This is a must go surfing event: Eddie Would Go Aikau Big Wave Invitational 2007 Quiksilver Surf fans from around the world will be watching this event and buying the Eddie Would Go Surf Clothing.

 

 

Check out these online surf shop websites. I like the BOARDSHORTSUPERSTORE.COM website the best but there are others. There is also the BUYBOARDSHORTS.COM website that has a good selection as well. And if you want to see a great selection of shirts, BUYSURFTEES.COM is a good site and I think each one of the websites has a great selection.