SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2004
    Location
    US
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Getting PATH on the hyperlink onclick event

    Hi Kirupa,
    I am just trying to do simple client side thing but

    There is a list of filenames with hyperlink which are generated dynamically on my ASP page.
    Now I want to get the path on the hyperlink that shows on the status bar when you actually mouseover the hyperlink using VBSCRIPT. Which I would then pass to a VBSCRIPT function and do the further processing.

    I used document.location.href but that gives the pages path.

    !!!!!!!!!!hope to get a response asap...THANK YOU

  2. #2
    SitePoint Enthusiast mutus's Avatar
    Join Date
    Sep 2003
    Location
    NY, USA
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    are you trying to just get the href of the link that was clicked?

    <a href="http://www.site.com" onclick="alert(this.href); return false;">click</a>

    If not please elaborate


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •