Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. herrmiller

    deleting tags using DOM

    ok so i'm getting closer now, this is how far i have gotten... if i have a coded string like the following. <strong>This is |simply </strong><em>some random text</em> <strong>that i typed| just for you.</strong> if i make a selection like i have indicated above (left of 'simply', right of...
  2. herrmiller

    deleting tags using DOM

    thanks for your reply! already been spending a lot of time there, good page! i was thinking about first selecting a piece of text, then use rng.extractContent() to get a document fragment, then modify that fragment somehow and finally use rng.insertNode() to reinsert the modified fragment...
  3. herrmiller

    deleting tags using DOM

    Hey, i'm building a DOM rich text editor and i have run into a few problems but i have one question for now... i know i can easily use surroundContents() to add a new tag around some text... but what is the best way to remove it? so far i have been trying to select the entire node, extract the...

Part and Inventory Search

Back
Top