User Profile

Collapse

Profile Sidebar

Collapse
Dashboard
Dashboard
Last Activity: May 10 '07, 10:46 PM
Joined: May 9 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Dashboard
    replied to FireFox submitting form twice
    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...
    See more | Go to post

    Leave a comment:


  • Dashboard
    replied to FireFox submitting form twice
    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"
    ...
    See more | Go to post

    Leave a comment:


  • Dashboard
    replied to FireFox submitting form twice
    That doesn't help either...
    See more | Go to post

    Leave a comment:


  • Dashboard
    replied to FireFox submitting form twice
    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 string
    See more | Go to post

    Leave a comment:


  • Dashboard
    replied to FireFox submitting form twice
    The browser encoding is - UTF-8
    I've narrowed it down to my javascript stmt.
    Code:
    function mysubmit(){
    alert('1');
    document.forms[0].submit();
    alert('2');
    }
    alert('1') is displayed - No request yet submitted, Press OK, alert 2 is displayed. 2 requests submitted....
    See more | Go to post

    Leave a comment:


  • Dashboard
    replied to FireFox submitting form twice
    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"...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...