Register

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
    Posts
    1
    Member #
    20107
    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="http://www.fitaudio.com/client/skin/view_default/default/form/imgs/login.png" alt="Submit" width="116px" height="57px" />
    ..and the page in question that won't send in IE is here:
    http://www.fitaudio.com/?View=register
    Thanks for you ideas...

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    I see a couple of things that are suspicious.

    This line:
    <input name="submit" type="image" id="submit" value="Submit" src="http://www.fitaudio.com/client/skin/view_default/default/form/imgs/signup.png" 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">


    That's not valid either ...

    This line ...
    <form action="http://www.fitaudio.com/?View=register" 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:
    http://validator.w3.org/check?uri=ht...Inline&group=0



    .


  4. #3
    Member Wynn455's Avatar
    Join Date
    Jun 2009
    Location
    Ca
    Posts
    93
    Member #
    19142
    Liked
    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
    Posts
    22
    Member #
    19934
    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:
    http://validator.w3.org/check?uri=ht...Inline&group=0

    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.


    EDIT:
    *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 10:45 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com