Solved the problem, just wanted to update the post with what he problem was-
One of my open-source js files was putting <img src="".... which was causing the page url to be accessed again.
Changed it access a null image, and it worked.
Please note that all other changes - Setting of response headers, changing the focrm action etc. were reverted back, and it still worked.
Thanx for all your...
User Profile
Collapse
-
Here's a cut down version of my page. I've got firebug running and it issues a new get request as soon as the page is done 'rendering' the last function in the script tag below.
...Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Pragma"
Leave a comment:
-
-
I tried to make the form action="" and set the action explicitly in the js, returned true from it. Still doesn't work.
My requirement is that the js should be called onchange of a text field, hence I've made the form action as an empty stringLeave a comment:
-
The browser encoding is - UTF-8
I've narrowed it down to my javascript stmt.
alert('1') is displayed - No request yet submitted, Press OK, alert 2 is displayed. 2 requests submitted....Code:function mysubmit(){ alert('1'); document.forms[0].submit(); alert('2'); }Leave a comment:
-
I'm still getting the problem. I've checked and set the charset encoding on the response header but with no luck [UTF-8]. FF still issues a Post and then a Get. Could someone please detail out how the solution is working for them.
One thing to note is that I use javascript to submit my form onchange of a text field. That should not make a difference.
The page meta tags -
<meta http-equiv="Content-Type"...Leave a comment:
No activity results to display
Show More
Leave a comment: