I am unable fetch the base url using window.location.hostname due to LWS being enabled in the sandbox. If LWS disabled it workings fine. Any solution would be much appreciated.
alert(window.location.hostname);
alert is showing null.
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I am unable fetch the base url using window.location.hostname due to LWS being enabled in the sandbox. If LWS disabled it workings fine. Any solution would be much appreciated.
alert(window.location.hostname);
alert is showing null.