Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 855003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:00:48+00:00 2026-05-15T08:00:48+00:00

A very peculiar bug in a simple html form. After changing an option, button

  • 0

A very peculiar bug in a simple html form. After changing an option, button has to be clicked twice to submit the form. Button is focused after clicking once, but form is not submitted. It’s only this way in IE8 and works fine in Chrome and FF.

PAY ATTENTION TO ‘g^’ right before <select>. It has to be a letter or number followed by a symbol to generate this bug. For example, ‘a#’,’f$’,’3(‘ all create the same bug. Otherwise it works fine. BTW, if you don’t change option and click button right away,there won’t be any bug.

Very strange, huh?

<form method="post" action="match.php">
g^
<select>
<option>Select</option>
<option>English</option>
<option>French</option>
</select>

<input type="submit" value="Go" />
</form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T08:00:49+00:00Added an answer on May 15, 2026 at 8:00 am

    I am providing the code here, which is working fine. Check this code whether this code also is giving you the problem.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <title> Sample page for language selection </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <style type="text/css">
        p{display: none;}
    </style>
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    
    <script type="text/javascript">
        $(function() {
            // language as an array
            var language = ['Arabic', 'Cantonese', 'Chinese', 'English', 'French', 'German', 'Greek', 'Hebrew', 'Hindi', 'Italian', 'Japanese', 'Korean', 'Malay', 'Polish', 'Portuguese', 'Russian', 'Spanish', 'Thai', 'Turkish', 'Urdu', 'Vietnamese'];
    
            $('#muyu').append('<option value=0>Select</option>');
    
            //loop through array
            for (i in language)  //js unique statement for iterate array
            { 
    
            $('#muyu').append($('<option>', { id: 'muyu' + i, val: language[i], html: language[i] })) }
    
            $('form').submit(function() {
                // alert('I am being called!');  // check if submit event is triggered
                if ($('#muyu').val() == 0) { $('#muyu_error').show(); } else { $('#muyu_error').hide(); return true; }
                return false;
            });
        })
    </script>
    </head>
    
    <body>
        <form method="post" action="PostProb">
            I am fluent in <select name='muyu' id='muyu'></select>
            <p id='muyu_error'>Tell us your native language</p>
            <input type="submit" value="Go"/>
        </form>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Very simple question: Specifically in Python (since Python actually has strongly recommended style guidelines
[Edit: The whole thing has a very simple solution: the matrix used the single
A very peculiar bug: I have BarButtonItem which pops out a UIPopoverController like that:
I have a very peculiar requirement and I am not an HTML expert. I
I'm getting a very peculiar problem with my asp.net application, it took me an
Very simple + silly question: Does clojure provide multi maps? I currently have something
Very simple question... I have an array of pixels, how do I display them
Very new to javascript and html-type stuff. I wanted to just make a quick
I have come across what appears to be very peculiar behaviour using entity framework
We are running MS SQL 2005 and we have been experiencing a very peculiar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.