Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-26-2012, 08:48 AM   PM User | #1
Sydhussain2010
New Coder

 
Join Date: Feb 2012
Posts: 14
Thanks: 11
Thanked 0 Times in 0 Posts
Sydhussain2010 is an unknown quantity at this point
how i can refresh my main history page without an alert message?

how i can refresh my main history page without page refresh alert message?

i am using the following code on the submitpage.asp

<%response.write ("<script>window.location.reload(history.go(-2));</script>")%>

i got the attached message when it refreshes the main page.

is there is a way to refresh directly without this message?
Attached Thumbnails
Click image for larger version

Name:	error_message.JPG
Views:	49
Size:	17.5 KB
ID:	10868  
Sydhussain2010 is offline   Reply With Quote
Old 02-26-2012, 08:56 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,036
Thanks: 197
Thanked 2,411 Times in 2,389 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Why have you started a new thread? You have asked the very same question in your other post.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Philip M is online now   Reply With Quote
Users who have thanked Philip M for this post:
Sydhussain2010 (02-29-2012)
Old 02-29-2012, 11:11 AM   PM User | #3
Sydhussain2010
New Coder

 
Join Date: Feb 2012
Posts: 14
Thanks: 11
Thanked 0 Times in 0 Posts
Sydhussain2010 is an unknown quantity at this point
any solution to refresh the history page?

how i can refresh my main history page without page refresh alert message?

i am using the following code on the submitpage.asp

<%response.write ("<script>window.location.reload(history.go(-2));</script>")%>

i got the attached message when it refreshes the main page.

is there is a way to refresh directly without this message?
Sydhussain2010 is offline   Reply With Quote
Old 02-29-2012, 11:21 AM   PM User | #4
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,036
Thanks: 197
Thanked 2,411 Times in 2,389 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by Sydhussain2010 View Post
is there is a way to refresh directly without this message?
Simple answer - No.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Philip M is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:37 PM.


Advertisement
Log in to turn off these ads.