Overcoming POSTDATA Warning
Jan 18, 2007
I'm hoping that someone here can help us out. We are in
the process of re-writing the underlying code for my
website (link to old version below). The site is (and
will continue to be) driven by PHP, javascript, and MySQL.
The problem I'd like to overcome is the browser's
navigation backwards through the tiers of screens and
menus. We have a "Back" link on the required pages, but
I would like to let the user navigate via the browser's
built in "Back" function, without getting the following
warning (from Netscape, in this case):
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The page you are trying to view contains POSTDATA that
has expired from the cache. If you resend the data, any
action the form carried out (such as a search or online
purchase) will be repeated. To resend the data, click
OK. Otherwise, click Cancel.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is no secure data, nor purchases involved. I
believe this is built into the browser, but I'm hoping
there is a way to bypass the warning without breaking
the function (creating an error) on the site. I believe
this is a javascript issue, but if I'm wrong, please
let me know and I will post to a PHP group.
View 3 Replies
ADVERTISEMENT
Jan 17, 2010
I am trying to accomplish something like this:
<p>
text <a>link</a>
</p>
----
$("p").live("click", ... something cool...);
$("p a").live("click", function(e){e.stopPropagation();});
//so the link is still followed but the click event on the P is not triggered.
This fails since live events bubble differently than bound events. So, what I have to do instead is $("p a").live("click", function(e){return false;}); but then the link is not followed. So, I do $("p a").live("click", function(e) location.href=this.href; return false;}); but then "open in new window" doesn't function correctly. Is there a good way to overcome this limitation/behavior?
View 2 Replies
View Related
Jul 4, 2011
IE browser (even IE8) is giving warning when I open a webpage with JavaScript in it. I can of course close the warning but since I am developing webpages that will be deployed and used by customers, customers will get the warning messages too. How do I design webpage that don't popup ActiveX warning message on customer browser when they open pages with JS in it?
View 4 Replies
View Related
Aug 7, 2009
I am setting up a form with a submit button. I want a warning box to come up saying you are about to delete user ?? image Click ok to continue or cancel
View 4 Replies
View Related
Dec 31, 2010
What Im trying to figure out is a simple (im a noob) way to close a browser window that was opened by a button on another page and not get the warning window "you are about to close..".
Ive been hunting around here and the web but I cant find anything solid.
Can someone direct me to the solution?
View 1 Replies
View Related
Jun 27, 2010
Have form where visitors fill in a few '<input type="text"> fields that require simple integer numbers. (I may be making a mistake in just using text fields? Please mention in reply in conjunction with main question below).
Here is a typical row:
<td>Box of dozen red pencils</td><td>$1 per box<td><td>Number of boxes wanted</td><td><input type="text" name="redpencils" id="redpencils" size="6"></td>
There are four colours and all are different prices per box. Blue are $1.20, Yellow are $1.50 and green are $1.70 per box. The form says that a minimum order is $10. I want that a warning comes up and submission fails if the entries add up to less than $10. I have simple default browser warnings come up if the required fields (like name, phone number) are not filled in. I want similar if the orders do not add to $10 or more.
View 10 Replies
View Related
Jan 22, 2011
PHP Code:
<html><head><script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script src="/js/jquery.confirm.js" type="text/javascript">
</script>
<script language="javascript">
// load jquery here before calling this
$(document).ready(function()Â {
[Code]...
View 2 Replies
View Related
Jun 18, 2011
Is there some way to have my websites appear to be safe so that IE does not present the security warning for running scripts? None of the javascript is allowed to run unless the user "Allows Blocked Content". If I pay extra to have my sites considered "safe" will this avoid the IE warning issue?
View 10 Replies
View Related
Mar 23, 2009
Quote: Originally Posted by KorRedDevil ActiveX or Java allowance, if malicious applications, could do really harm, but no javascript. Unfortunatelly, IE has ActiveX and javascript linked on the same level of security, so that when disable ActiveX you disable javascript as well.This is the problem I am experiencing now KorRedDevil.I have just signed up to devshed now, trying to find some ways to allow javascript, yet keep active-x disabled. am in the middle of creating a website, using a javascript drop down menu. Looks really nice, but when you load the page on IE, it keeps displaying theactive-x warning, requesting permission to allow. My concern is that a lot of people dont understand this message. Automatically think there is something dangerous about the site, and deter them from visting. And they will not be able to navigate round the site effectively without the drop down menu!I'd imagine there has to be a way, possibly with a certain metatag maybe?
Reason being, GMail is designed using javascript. How come IE allows their javascripts to work, but no one elses?!Must be a way.And also, I use a .js file to keep the site resized and well positioned, regardless of browser. This script gets by no worries at all. Could it be because it is an external javascript, and not linked in within the html itself?And with other broswers, ie. Netscape, Firefox etc. Do any of them have issues with the Javascript / active-x warning?
View 9 Replies
View Related
Aug 17, 2010
I'm writing a very simple code. Basically, there will be an array of strings from which one is randomly chosen and written to an element on the page. Here is a simplified version of how I'm executing it:
<html>
<head>
<script type="text/javascript">
function dyk() {
document.getElementById('test').innerHTML = "foobar"; }
</script>
</head>
<body onLoad="dyk();">
<div id="test">Hello<br />
</div>
</body>
</html>
My only concern is the "Active Content" warning that comes up in IE. The clientele (mostly older people) are probably going to be IE users and many of them might be so untrusting of computers that they'll take the warning as a legitimate concern. Is there another way to write this simple code to avoid the warning?
View 1 Replies
View Related
Nov 4, 2009
Even I am trying the browser close event for cross browser and this should trigger only when X button is clicked or page is refreshed. Here's the code pasted above which I am using but it only works in IE. I know the issue is because of window.events and ClientX/ClientY. my code to make it work in all browsers? This is very urgent and have been striving since 3 days...
*Please Note: Current code is working in IE only and to check you have to close the browser window or refresh the page with mouse click
=====================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><head>
<title>Warning Test</title>
[Code]....
View 3 Replies
View Related
Sep 10, 2009
It states:"The ie6-upgrade-warning is a little script (7.9kb) that displays a warning message politely informing the user to upgrade the browser to a newer version (links to newest IE, Firefox, Opera, Safari, Chrome are provided). The webpage is still visible behind a transparent background, but access to it is prevented. The idea is to force users to upgrade from IE6 and avoid the website from a bad reputation that website is not rendering correctly in IE6.InstallationJust insert the line<!--[if lte IE 6]><script src="js/ie6/warning.js"></script><script>window.onload=function(){e("js/ie6/")}</script><![endif]-->right after the <body> declaration of the webpage and change the e("js/ie6/") to the folder where the script's icons images are located."
So I uploaded the IE6 folder and put the line of code below the <body> declaration and changed the {e("js/ie6/")} to the icon folder.But I don't see any instructiosn after I uploaded the IE6 warning folder. Has anyone used this? Is there somthing I should do after I zipped the IE6 folder and uploaded it?
View 9 Replies
View Related
Jan 21, 2011
PHP Code:
<html><head><script type="text/javascript" src="[URL]"></script>
<script src="/js/jquery.confirm.js" type="text/javascript">
</script>
<script language="javascript">
// load jquery here before calling this
$(document).ready(function() {
// delete the entry once we have confirmed that itÂshould be deleted
$('.delete').click(function() {
var parent = $(this).closest('tr');
$.ajax({ .....
In above code I want that when admin delete any event, there should an warning message prompt but my jquery not works.
View 4 Replies
View Related
Dec 8, 2010
how to disable the warning mentioned in the title. I have pop-ups that require passwords, and when entered and submitted redirect to another page. I'd prefer this to be seamless, but I need to get rid of the warning message first.
View 4 Replies
View Related
Feb 25, 2005
i have written this peice of code:
<input type="Submit" name="Close" value="Close Window" onClick="javascript:window.close();" />
<a href="C:Documents and Settingsdavid.RSHMAINDesktopclose.htm" onclick="return openContextualHelpWindow(this.href);" target="helpwin">Condition</a>
When i click on the close button, i get a message asking me wether i want to close the window or not, when i click the link and open up the same page in a different window, i can click close, and it will do it. My question is this: Can i load a page up straight away, asif i have clicked the link?
View 11 Replies
View Related
Sep 11, 2009
I'm coding a simple hover-opacity thing for some images on my site on the navigation bar. Although I'm receiving this message in my Firebug. uncaught exception: Syntax error, unrecognized expression: . Here's the navigation code:
[Code]....
View 6 Replies
View Related
Jul 30, 2010
I am trying to get rid of this warning over and over.
My pages are located in directory WEBSERVERAPPLICATIONSWC
Master pages in WEBSERVERAPPLICATIONS
CSS and Javsasripts are in WEBSERVER
And in css I have background:url no-repeat right top;
Dont know even though the image gets accessed by Https. why it is still giving that warning.
View 2 Replies
View Related
Jul 30, 2010
I am trying to get rid of this warning over and over.
My pages are located in directory WEBSERVERAPPLICATIONSWC
Master pages in WEBSERVERAPPLICATIONS
CSS and Javsasripts are in WEBSERVER
And in css I have background:url no-repeat right top;
Dont know even though the image gets accessed by Https. why it is still giving that warning.
View 1 Replies
View Related
Jan 23, 2005
I wish to have a small window with a warning text when my customer tries to close the main window of my website, can it be done?
View 6 Replies
View Related
Jul 6, 2010
when the user submits a form whose fields have not satisfied the validations, then how can we display a "message" saying that "please fill all the fields appropriately"? And also that message should disappear when the fields are appropriately filled.
View 1 Replies
View Related
Sep 4, 2009
I'm using the jQuery Validate plugin. I have a basic form that asks for someone's name:
[Code]..
View 3 Replies
View Related
Nov 15, 2009
I want to close an internet explorer window without the warning popup. Im running ie 8 how would i do that cause when i use window.close() function it pops up with that warning.
View 5 Replies
View Related
Jul 10, 2011
I have Win 7, IE9. I have a HTML file on my hard drive, with Javascript within. When I load the page, it keeps popping up Do u want to allow this content, I have to click to allow. I want to stop this, and after doing some searching I found the setting in Internet Options, Advanced - "Allow active content to run in files on my computer".
Perfect.
Doesnt work. When i check this box, the page loads without the warning, but then the Javascript just doesnt work. Getting quite annoying, because this file is my home page.
View 2 Replies
View Related
Aug 1, 2011
I have this script and it's working pretty well. Except now I need it to not give the message on one single external link.
Code JavaScript:
$(document).ready(function() {
// Creating custom :external selector
$.expr[':'].external = function(obj){
[Code].....
This works on any "href" external link or link with class of "external". I have one link that needs to be added that is external but needs to appear to not be and not give the warning message.
View 2 Replies
View Related
May 24, 2007
I have been trawling everywhere, I cannot find a solution anywhere for the following:
I need a webpage with two list boxes and a text box, I want the two listboxes to be dynamic/cascading (the second dependant upon the choice in the first).
And the textbox dependant upon the selection from the second listbox.
This data has to come from a XML file stored on the local PC or Network drive.
Most importantly I do not want the user of the page to be prompted with the activeX warning.
The PC's are secure so I cannot tweak the reg, it gotta work completely with XML, XSL, Javascript etc only Can this be done if so please can someone post a simple example.
View 1 Replies
View Related
Jun 22, 2010
We are using the jquery droppable plugin on our portal. We have a situation when drag n drop brings in the IE 8 mixed content warning dialog. There is a AJAX load request which is fired when there is a drop. Does this plugin have support over SSL? Is there any way to fix this issue. I did use Fiddler, HTTPWatch Basic and also the FireFox Net tab and the AJAX requests are indeed https://.
View 2 Replies
View Related