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 728007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:37:56+00:00 2026-05-14T06:37:56+00:00

My form works in firefox but not ie. I’ve tried using a hidden text

  • 0

My form works in firefox but not ie. I’ve tried using a hidden text field (fail)… I tried using an image instead of a submit button (fail)… are there any other solutions? Here is my form:

<?php

print "<table width='522' cellpadding='2' cellspacing='0' border='0'>
<tr><td valign='top' width='128'><img src='logo.gif' border='0'></td><td valign='bottom'><div style='padding-top: 10; font-family: arial; font-size: 14px;'
<form action='' method='GET'>
Search category
<select name='cat'><option value='1'"; if($cat==1){print "selected='yes'";}print">1</option>
<option value='2'"; if($cat==2){print "selected='yes'";}print">2</option>
<option value='3'"; if($cat==3){print "selected='yes'";}print">3</option>
<option value='4'"; if($cat==4){print "selected='yes'";}print">4</option>
</select>
 for <input type='text' value='$q' name='q'>
<input type='submit' value='Go' />
</form></div></td></tr>
<tr>
</table>";

print "<BR>results here";
?>
  • 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-14T06:37:56+00:00Added an answer on May 14, 2026 at 6:37 am

    Your div is not closed for a start.

    <div style='padding-top: 10; font-family: arial; font-size: 14px;'
    

    I’ve rewritten your code, use this instead ,much more efficient and easier to read / debug:

    <table width='522' cellpadding='2' cellspacing='0' border='0'>
        <tr>
            <td valign='top' width='128'><img src='logo.gif' border='0'></td>
            <td valign='bottom'>
                <div style='padding-top: 10; font-family: arial; font-size: 14px;' >
                    <form action='' method='GET'>
                        Search category
                        <select name='cat'>
                            <option value='1' <?php if($cat==1){echo "selected='yes'";} ?> >1</option>
                            <option value='2' <?php if($cat==2){echo "selected='yes'";} ?> >2</option>
                            <option value='3' <?php if($cat==3){echo "selected='yes'";} ?> >3</option>
                            <option value='4' <?php if($cat==4){echo "selected='yes'";} ?> >4</option>
                        </select>
                        for <input type='text' value='$q' name='q'>
                        <input type='submit' value='Go' />
                    </form>
                </div>
            </td>
        </tr>
    </table>
    <BR>results here
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to submit a form with javascript. Firefox works fine but IE complains
This works in Firefox and Chrome, but not in IE8. <div class=container> <form action=>
I have the following code which works in Internet Explorer, but not in Firefox
My ajax works fine in firefox but it does not work on my iPhone.
Well I am trying to submit a form by pressing enter but not displaying
I am writing a form using jQuery and encounter some difficulties. My form works
Problem summary: (i) Widget in static portion of form works fine; but (ii) In
change() function works and detects changes on form elements, but is there a way
<form action=http://google.com> <input type=submit onclick=javascript:this.disabled='disabled';return true> </form> It works in Firefox, but not in
I am doing a cross domain request using $.ajax . It works on Firefox

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.