Home > Not Working > Window.location.href Is Not Working

Window.location.href Is Not Working


Thanks Dan ....

.... Feb 12 '07 #2 P: n/a =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?= It works perfectly with ie and firefox . Browse other questions tagged javascript html or ask your own question. What am i doing wrong? this contact form

Your Email This email is in use. Browse other questions tagged javascript or ask your own question. Can Newton's laws of motion be proved(Mathematically or analytically) or they are just axioms? Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. http://stackoverflow.com/questions/27725127/redirect-using-window-location-doesnt-working

Window.location.href Is Not Working

Peter -- Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com Short urls & more: http://ittyurl.net "Dan" wrote: >Hi,i try to redirect to another aspx page with jscript. The javascript alert works, but not the keypress event? Try it Yourself » ❮ Previous Next Post your question and get tips & solutions from a community of 418,809 IT Pros & Developers. http://seesbg.com/not-working/location-services-not-working-iphone-6.html Build me a brick wall!

How do I make an alien technology feel alien? Window.location Not Working In Ie I used a solution that I happened to already have on my laptop on an exam. Not the answer you're looking for?

Solution 3 Accept Solution Reject Solution function confirmsave() { var ans = confirm('Do u want to Save?'); if (ans == true) {document.location.href='login.aspx',true} else { return false; } } works......:)

I appologise! Some examples: window.location.href returns the href (URL) of the current page window.location.hostname returns the domain name of the web host window.location.pathname returns the path and filename of the current page window.location.protocol What is this line of counties voting for the Democratic party in the 2016 elections? Javascript Redirect Not Working Thanks..

If you want to make a POST request, then you would have to post the form instead of using window.location.href. –Guffa May 23 '11 at 10:19 thank you the General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Wrong way on a bike lane? http://seesbg.com/not-working/audi-a2-wiper-relay-location.html What am i doing wrong?

I use "OnClientClick" but nothing happens.