Results 1 to 2 of 2

Thread: How to make a link in JS?

  1. #1
    Join Date
    Sep 2007
    Posts
    172
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default How to make a link in JS?

    Just a quick question on how to make a html link in JS coding? Let's say I have a random quote JS and a quote is:
    "Are you new here? Why not to check our Introduction Section? Tell us who you are and a bit more"
    Now I want to give a link on Introduction Section. Any help?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The context in which you are doing this is important. However, all things being more or less as one might imagine:

    Code:
    "Are you new here? Why not to check our <a href='intro.htm'>Introduction Section</a>? Tell us who you are and a bit more"
    could work.

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •