logo

New Response

« Return to the main article

You are replying to:

  1. i want to know about relative url in javascript . i want to open a new window . my current url is : http://1and2/test/test2/default.aspx

    and i want to open this url : http://1and2/test/test3/index.html

    location.host returns 1and2 . and i dont know in which directory my application is running on the server . ( /test or /test/test3 or something else ) how can i find the root of my application url in javascript ?

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: