popeye82
11-28-2003, 02:07 PM
I need help writing/finding a way to post the parent URL like this: <A href="URL here"...
HELP Please!!
HELP Please!!
|
Click to See Complete Forum and Search --> : Posting page URL like this: <A href="URL here" popeye82 11-28-2003, 02:07 PM I need help writing/finding a way to post the parent URL like this: <A href="URL here"... HELP Please!! Khalid Ali 11-28-2003, 11:30 PM you will need to get a reference to the existing anchor tag or create one at the run time. Then get he current pages url var url = window.locationtion.href; and finally set the anchor tags attributes value anchor.setAttribute("href",url); webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |