script If you want that, you can add the value of the textarea to the URL in the same manner as mailid, using the encodeURIComponent function to encode the value first. thank you –charlie_cat May 23 '11 at 8:21 @Helloise Smit: When you use window.location.href the browser always does a GET request. 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 http://stackoverflow.com/questions/10406134/window-location-is-not-working-in-aspx-page
Window.location Not Working In Chrome
In your context, the submit event is probably being invoked when you click on that input box. Window.location.href Is Not Working It worked too! –Murphy Jan 1 '15 at 16:46 add a comment| up vote 0 down vote Only changed the input type, and it worked perfectly! Let's work to help developers, not make them feel stupid. Feb 08, 2012 06:42 AM|dst101|LINK devensawant Try for window.location.href="url"; No joy, the page just refreshes.
Window.location.href Is Not Working
Share Your Comments & Feedback Cancel reply Name * Email * Website Comment Note: To post any code in comment, use
Notify me of follow-up comments by email. http://www.codeproject.com/Questions/733049/Window-location-not-working
share|improve this answer answered May 2 '12 at 0:19 Control Freak 6,4101756101 yes I did, nothing is changing. –Mtok May 2 '12 at 0:21 Are you sure his comment is here I also tried window.location("http://www.google.com") it's not working as well. Feb 08, 2012 06:58 AM|devensawant|LINK MetalAsp.Net In IE8 works perfectly fine for me. How do I sort a list with positives coming before negatives with values sorted respectively? Window Location Not Redirecting
- If a Drow Druid uses Wild Shape to turn into a Spider, what is the range of their Darkvision?
- I want the page to be redirected to another page according to the selected element from the autocomplete list.
- Reply devensawant Contributor 2131 Points 866 Posts Re: window.location not working in asp.net page?
- Pipe the result of a cut command to curl What different frame materials have been used?
How do I get the last lines of dust into the dustpan? Window.location.href Not Working In Ajax Success How not to lose confidence in front of supervisor? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
I started AspnetO as a hobby and now we're growing day by day.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL) Top Experts Last 24hrsThis month OriginalGriff 285 Richard Deeming 130 Midi_Mick If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Contributor 4554 Points 1770 Posts Re: window.location.href Not working chrome and firefox Jun 05, 2012 05:51 AM|RameshRajendran|LINK HAi Thank u all.Finaly i got it i m change my code window.location.href="FBDefault.aspx?id="+data.d navigate here Dropping many values Do I need an Indie Studio Name?
On the development server(Windows server 2008 with IIS) we have an asp.net application deployed in the "default web site" named Topics2 (it's a test application - the production one is Topics). Your Email This email is in use. Sign in using Search within: Articles Quick Answers Messages Use my saved content filters home articles Chapters and Sections> Search Latest Articles Latest Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update What problem .pls help me...