ahugedeal
Starting Member
20 Posts |
Posted - 31 May 2001 : 22:51:34
|
In the Function edit_hrefs in the inc_functions.asp file, I need to have something similar to the asp command server.urlencode to encode that actual hyperlink and not the text for the hyperlink in the following line:
s_str = s_str.replace(/\b(http\:\/\/[\w+\.]+[\w+\.\:\/\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi, "<a href=\$1\ target=\"_blank\">$1<\/a>");
Any ideas on how I might go about doing this?
I originally posted this in a topic called Jet Error, which was not a correct title Forum Link, so I wanted to repost it using a correct title and maybe get a little help
Thanks! Terry
http://www.ahugedeal.com |
|