SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2002
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reffering to <a>

    If I give my action tag a name (e.g. <a name="something">s</a>), how do I reffer to that area from the script tags or other areas (for example, if I need to change the innerText)?

  2. #2
    pg for mild peril cow's Avatar
    Join Date
    Mar 2000
    Location
    nevada, usa
    Posts
    636
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <a name="exampleTarget"> is used as a scroll target and can only be referred to in the url...like this:

    Code:
    http://localhost/test.htm#exampleTarget
    "There's no justice like angry mob justice!" --Seymour Skinner


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
  •