SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2012
    Location
    Pune, Maharashtra, India
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Alert message showing twice in IE

    Hell all,

    I have used a javascript popup form, with javascript validation. The form seems to work fine as far as validation and submission is concerned in all the browsers.
    But, the problem comes when we try to submit the form in IE. Validation works and form also gets submitted, but after the form gets submitted, the alert message is shown twice in IE, also the whole page gets disturbed.

    one can refer the link: http://masterworks.in/sportybeans/index.php
    the form appears when one clicks over 'Enroll Now, image/icon.

    what can be the error i am not getting...

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,676
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    I'm also getting an error in my IE (it has show errors turned on) that stems from the following code:

    Code javascript:
    fg_hideform('fg_formContainer','fg_backgroundpopup');

    Because there is no element on the page with an id of 'fg_formContainer'
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •