K
Kirsten
The users enters a string in an input box. When he clicks a button I want to
show (via document.write) an anchor if the string contaings "http://" or
"www."
For example: "This is the page I mentioned www.microsoft.com"
is converted to "This is the page I mentioned <a
href='www.microsoft.com'>www.microsoft.com</a>"
Any ideas?
Thanks!
show (via document.write) an anchor if the string contaings "http://" or
"www."
For example: "This is the page I mentioned www.microsoft.com"
is converted to "This is the page I mentioned <a
href='www.microsoft.com'>www.microsoft.com</a>"
Any ideas?
Thanks!