Top "Window.location" questions

window.

JavaScript: location.href to open in new window/tab?

I have a JavaScript file from a third party developer. It has a has link which replaces the current page …

javascript window.open window.location
How to remove the hash from window.location (URL) with JavaScript without page refresh?

I have URL like: http://example.com#something, how do I remove #something, without causing the page to refresh? I …

javascript window.location fragment-identifier
Detect HTTP or HTTPS then force HTTPS in JavaScript

Is there any way to detect HTTP or HTTPS and then force usage of HTTPS with JavaScript? I have some …

javascript https window.location
How can I make a HTML a href hyperlink open a new window?

This is my code: <a href="http://www.google.com" onClick="window.location.href='http://www.yahoo.com';return …

html hyperlink window.location
JavaScript hard refresh of current page

How can I force the web browser to do a hard refresh of the page via JavaScript? Hard refresh means …

javascript reload page-refresh window.location
window.location.href doesn't redirect

I know this is a question much discussed but I can't figure out why it does not work for me. …

javascript dom-events window.location
window.location.href not working

My website is http://www.collegeanswerz.com/. I'm using rails. The code is for searching for colleges. I want the …

jquery ruby-on-rails window.location
Change hash without reload in jQuery

I have the following code: $('ul.questions li a').click(function(event) { $('.tab').hide(); $($(this).attr('href')).fadeIn('slow'); …

jquery hash reload fragment-identifier window.location
Setting JavaScript window.location

I'm currently setting the window.location.pathname property to redirect the user to a relative URL. The new URL has …

javascript window.location