If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2009
    Member #
    Hello guys,

    So I've been slaving for ages on a new site of mine and have uploaded it finally to do some testing and iron out any problems...

    Then I came accross this problem...

    I have 2 forms on my site - a login form and a register from which both have IMAGES for submit buttons.
    Now in Firefox if I register or Login then it works fine and the site proceeds to the next page...
    But if I do the same thing in any IE 6, 7 & 8 i've tried them all, then the page simply refreshes and nothing happens?
    Here's the button code in case its that:
    HTML Code:
    <input name="submit" type="image" id="submit" value="Submit" src="" alt="Submit" width="116px" height="57px" />
    ..and the page in question that won't send in IE is here:
    Thanks for you ideas...


  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Cottage Grove, Minnesota
    Member #
    720 times
    I see a couple of things that are suspicious.

    This line:
    <input name="submit" type="image" id="submit" value="Submit" src="" alt="Submit" width="116px" height="57px" />

    The part in red are not valid properties ( No px needed .... width="116" height="57" ).

    Then, there are two webpages on the same page....
    Two of these ....
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">

    That's not valid either ...

    This line ...
    <form action="" method="post" name="" id="" onsubmit="return Validate(this);">
    My hunch is that it needs to have a name and/or id, but it does not (they are null).
    But I suppose with multiple <html> tags, the Javascript function is lost with IE?

    You need to get your page to validate ... fix the errors, and you might have a better change of making it work. IE can't figure it out.

    This is the place to start looking for errors:


  4. #3
    Member Wynn455's Avatar
    Join Date
    Jun 2009
    Member #
    1 times
    Umm, I thought they Always Required a Name??
    Might want to just put something there Just In Case.
    <INPUT name="submit" type="submit" value="Submit Inquiry">

  5. #4
    Junior Member poker158149's Avatar
    Join Date
    Sep 2009
    Member #
    Listen to mlseim - Validate your HTML.

    I just did and came up with this:
    151 Errors, 71 warning(s)
    Look for yourself at your errors:

    Fix all of the errors listed on here for each one of your pages, then try.

    The above results are from your home page alone.

    There might be different errors on each page, so go here, type in the URL for each of your pages, then fix every error listed.

    *Off-topic* - As a side note, I had a hard time seeing your navigation. I suggest making it more noticeable, preferably changing the color, size, and positioning. Maybe put it on the left-hand side on the bar where you have "Register" and "Member's Login" (member's should have an apostrophe)

Remove Ads

Posting Permissions

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

Search tags for this page

html submit code works in firefox but not ie

Click on a term to search for related topics.
All times are GMT -6. The time now is 02:26 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: