Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
All I need to learn is how to select text so that the selected text will not be used to hyperlink to by some javascript routine eg. Amazon's advert generator. I have used <!> text <!> which works for IE7 but not IE8.

Geoff
Posted
Updated 29-Jun-10 5:04am
v3

1 solution

Do you mean those things that search a page of text and wrap words in pop-up ads?

Why not try inserting a pair of tags inside a word you want to preserve:

eg: MySacredWord -> My<tag></tag>SacredWord
 
Share this answer
 
Comments
ggeoff 30-Jun-10 6:31am    
Reason for my vote of 5
Solved my problem nicely.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900