It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Getting the current .js file full URL

Getting the current .js file full URL

Postby annaj on Thu Aug 14, 2008 11:08 am

Hello,

I have an external javascript file, and want to find/get its own path. When I use window.location, or document.location, I only manage to find the main page (HTML) address, but I need the .js one.

Any ideas?

Thanks,
annaj
 
Posts: 0
Joined: Thu Aug 14, 2008 10:00 am

Who is online

Users browsing this forum: No registered users and 4 guests