1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

JavaScript How to put links in Js file

Discussion in 'Web Development' started by nro, Dec 11, 2009.

  1. nro

    nro Banned

    Hellow
    Any one can tell me that how can I place my site link in .js file and import it to html via javascript tags.
    I want to place a link on page but does not want to show link in code. I want that code show only javascript and the link is being import from any other file of .js extention
     
  2. Olaf

    Olaf New Member

    I know that this is possible using jquery, is this an option?

    Code:
    $.getScript("thickbox.js");