HTML - Stupid Ie Not Showing Selected Value In Combo Box
Hello,
I am facing a weird problem in IE which is not happening with other browsers. Open the following website: http://www.clinicasdefertilidadenlima.pe/ You will see 3 combo boxes on this page displaying "Lima". Click on any combo and select any other value like Lima or Arequipa. Page will refresh but now combo will not show selected value which should always be "Lima" (I have hard coded it) If you take a look at the HTML source then it's a simple combo box and I have even defined selected="selected" for "Lima" value but in IE it only displays selected value when you open home page. After that it doesn't show value when you select value from combo box. I am using IE9. Here is the combo box I am talking about: HTML Code: <select id="city_id" name="city_id" class="f2_city" onchange="redirect(this.form)"> <option value="" selected="selected">LIMA</option> <option value="LIMA">LIMA</option> <option value="Arequipa">Arequipa</option> </select> Thanks Similar TutorialsHi all. I have a page that the select box is not selecting the option when selected is put in there. Here is the code. Any help you have is appreciated =) Thank you =) Light and Love and Healing to you, -Patrick Arden McNally Code: <html> <head> <title>DULUTH Music Scene</title> <link rel="stylesheet" type="text/css" href="music_scene.css"> </head> <body > <div class="wrapper"> <table width="100%"> <tr><td colspan="2"> <table width="100%" border="1"> <tr width="100%" align="center" valign="top"> <td><a href="index.php">Home</a></td><td><a href="calendar.php">Calendar</a></td><td><a href="featured.php">Featured Shows</a></td> <td><a href="view.php?mode=3">Venues</a></td><td><a href="view.php?mode=2">Local Artists</a></td><td> <a href="classifieds.php?type=1">Instruments</a><br> <a href="classifieds.php?type=2">Lessons</a><br> <a href="classifieds.php?type=3">Repairs</a><br> </td> <td><a href="email.php">Contact<br><a href="about.php">About Us</a><br><a href="user_reg.php">Join</a></td></tr> </table> </td></tr> <tr> <td><h2> DULUTH<br>Music Scene</h2> </td><td align="right"> You are logged in (admin) <a href="logout.php">logout</a><br> <a href="home.php">My Profile</a> | <a href="admin.php">MusicScene Admin </a></td></tr> <tr><td colspan="2"> <hr> <h2>Edit Featured Show</h2> <form action="admin.php?mode=edit_featured" method="post" name="form1" enctype="multipart/form-data"> <input type="hidden" name="mode" value="edit_featured"> <input type="hidden" name="id" value="9"> <input type="hidden" name="regionID" value="1"> Shows: <select name="showID"><option value="27" selected>2009-04-25 - The Rez <br>The Big Wu - The Orpheum Duluth - NorShor Theatre 1st Floor</option><option value="33" >2009-06-25 - The Infinite Flow <br>The Lovers - Blue Crab</option><option value="8" >2009-07-10 - The Infinite Flow <br> Johnny Reeferseed & the High Rollers<br> Harmonic Order<br> Cirrus Minor<br> The Rez<br> Dead L - Mellow Meddle Music Festival</option><option value="10" >2009-07-10 - The Rez <br>The Infinite Flow<br> Harmonic Order - Mellow Meddle Music Festival</option><option value="15" >2009-07-10 - The Infinite Flow <br>The Rez - Mellow Meddle Music Festival</option><option value="29" >2010-10-20 - The Hobo Newphews of Uncle Frank <br>JnvsVwNotS - The Rex</option></select><br> Description: <textarea name="description" cols="80" rows="10">The Rez and The Histronic will be opening for The Big Wu on Saturday April 25th at the Historic NorShor Theatre in Duluth (Now Called The Orpheum Duluth).</textarea><br> User: <select name="userID"> <option value="16" >Jamie Ness</option> <option value="17" >Jim Hall</option> <option value="18" >Marc Gartman</option> <option value="19" >Too Many Banjos</option> <option value="20" >Acceleratii</option> <option value="21" >Root City Band</option> <option value="22" >The Tisdales</option> <option value="23" >Equal Xchange</option> <option value="24" >Charlie Parr</option> <option value="25" >Uprising</option> <option value="26" >The Fractals</option> <option value="27" >Lonesome Dan Kase</option> <option value="28" >Ian Alexy</option> <option value="29" >The Hobo Newphews of Uncle Frank</option> <option value="30" >The Hobo Newphews of Uncle Frank</option> <option value="45" >Thirsty Pagan Brewing</option> <option value="46" >Lakeview Castle</option> <option value="48" >The Orpheum Duluth - NorShor Theatre 1st Floor</option> <option value="49" >The Rex</option> <option value="60" >Sir Benedict's Tavern on the Lake</option> <option value="61" >Pizza Luce</option> <option value="62" >Blue Crab</option> <option value="63" >Fitger's Brewhouse</option> <option value="51" >#dennick[IRIFIFZFZIII]</option> <option value="52" >2</option> <option value="12" >Music Scene Admin</option> <option value="47" >Angelic Ascension</option> <option value="13" >The Infinite Flow</option> <option value="58" >infoffwrofE</option> <option value="59" >itedgeGootorm</option> <option value="55" >Josh Brown</option> <option value="56" >pp</option> <option value="57" >pp</option> <option value="42" >Patrick</option> <option value="43" >Patrick</option> <option value="44" >Patrick Arden McNally</option> <option value="8" >Patrick Arden McNally</option> <option value="9" >Patrick Arden McNally</option> <option value="15" >Teague Alexy</option> <option value="14" >The Beat Coffee House</option> <option value="31" selected>The Rez</option> <option value="2" >Tim and Pat</option> <option value="6" >Twins Bar</option> <option value="50" >xpokvmihdsz</option> </select><br> Date Start: <select name="date_start_month"><option value="01" >Jan</option><option value="02" >Feb</option><option value="03" >Mar</option><option value="04" selected>Apr</option><option value="05" >May</option><option value="06" >Jun</option><option value="07" >Jul</option><option value="08" >Aug</option><option value="09" >Sep</option><option value="10" >Oct</option><option value="11" >Nov</option><option value="12" >Dec</option></select><select name="date_start_day"> <option value="01" >01</option><option value="02" >02</option><option value="03" >03</option><option value="04" >04</option><option value="05" >05</option><option value="06" >06</option><option value="07" >07</option><option value="08" >08</option><option value="09" >09</option><option value="10" >10</option><option value="11" >11</option><option value="12" >12</option><option value="13" >13</option><option value="14" >14</option><option value="15" >15</option><option value="16" >16</option><option value="17" >17</option><option value="18" >18</option><option value="19" >19</option><option value="20" >20</option><option value="21" selected>21</option><option value="22" >22</option><option value="23" >23</option><option value="24" >24</option><option value="25" >25</option><option value="26" >26</option><option value="27" >27</option><option value="28" >28</option><option value="29" >29</option><option value="30" >30</option><option value="31" >31</option></select> <select name="date_start_year"><option value="2009" selected>2009</option><option value="2010" >2010</option><option value="2011" >2011</option><option value="2012" >2012</option><option value="2013" >2013</option></select><br> Date End: <select name="date_end_month"><option value="01" >Jan</option><option value="02" >Feb</option><option value="03" >Mar</option><option value="04" selected>Apr</option><option value="05" >May</option><option value="06" >Jun</option><option value="07" >Jul</option><option value="08" >Aug</option><option value="09" >Sep</option><option value="10" >Oct</option><option value="11" >Nov</option><option value="12" >Dec</option></select><select name="date_end_day"> <option value="01" >01</option><option value="02" >02</option><option value="03" >03</option><option value="04" >04</option><option value="05" >05</option><option value="06" >06</option><option value="07" >07</option><option value="08" >08</option><option value="09" >09</option><option value="10" >10</option><option value="11" >11</option><option value="12" >12</option><option value="13" >13</option><option value="14" >14</option><option value="15" >15</option><option value="16" >16</option><option value="17" >17</option><option value="18" >18</option><option value="19" >19</option><option value="20" >20</option><option value="21" >21</option><option value="22" >22</option><option value="23" >23</option><option value="24" >24</option><option value="25" >25</option><option value="26" selected>26</option><option value="27" >27</option><option value="28" >28</option><option value="29" >29</option><option value="30" >30</option><option value="31" >31</option></select> <select name="date_end_year"><option value="2009" selected>2009</option><option value="2010" >2010</option><option value="2011" >2011</option><option value="2012" >2012</option><option value="2013" >2013</option></select><br> Paid: <input type="checkbox" name="paid" checked> Payment ID: <input type="text" name="payment_id" value=""><br> Active: <input type="checkbox" name="active" checked><br> Type: Front Page <input type="radio" name="featured_type" value="1" checked> | Featured Shows Page <input type="radio" name="featured_type" value="2" ><br> Featured photo: <input type="file" name="featured_photo"><br> <input type="hidden" name="featured_photo_old" value=""> <input type="submit" name="submit" value="Submit"> </form> <br><hr><br><br><br> <a href="admin.php?mode=featured">Add/Edit Featured Shows</a> | <a href="admin.php?mode=banners">Add/Edit Banners</a> | <a href="admin.php?mode=classifieds">Add/Edit Classifieds</a> | <a href="admin.php?mode=report">View Site Reports</a> <tr><td colspan="2" align="center"> <br><br> </td></tr> </table> </div><div class="push"> <div class="footer"><a href="about.php">About us</a> | <a href="email.php">Contact Us</a><br> <div style="font-size: 12px;">Website Design by <A href="http://www.thedesignedge.com/">The Design Edge</a> - ©2009 Music-Scene.org</div></div> </body></html> Hi folks, I was wondering if any of you kind folks might be able to assist. This code was written with seamonkey, composer. I am dammed if I can get the table to center, on the page. Hope you folks can help. see attached ok i'm abit confused on y my link works in IE but not firefox. i went to validate my code and it is valid. http://validator.w3.org/check?uri=ht...sasylum.com%2F http://necrosasylum.com <<< thats the page Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <title>Necro's Asylum</title> <style type="text/css"> body {margin:0px; color:#000; font-weight:bold;} #bg_image { width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0; } #contents { width: 100%; height: 100%; z-index: 1; position: absolute; } </style> </head> <body> <div id="contents"> <center> <form method="get" action="http://www.google.com/search"> <input type="text" name="q" size="22" maxlength="255"><input type="submit" value="Google Search"> </form> </center> </div> <div id="bg_image"> <a href="http://necrosasylum.com/Asylum/news.php/"><img src="enter.gif" alt="Necro's Asylum" border="0" style="width: 100%; height: 100%;"></a> </div> </body> </html> anyone got any idea why it don't work in firefox? h1.ripway.com/heerog I just started and am already having a problem...The image 'top.jpg' isn't repeating along the x-axis...Need help URGENTLY- tyvm peoples Website is Here Ok, so I'm trying to get the text near the picture with the old guy with the roses padded a little. I tried adding "padding: 2px;" to the css but that doesnt work...Can someone look at my css and figure it out? Im stuck! -Thanks OK, have made websites before, but NEVER used frames . The website looks and works great in the "Preview in Browser" view. It has 3 frames. A header (top), navigation (left) and content (right). The navigation properly shows content on the right content side. My problem is this: When uploaded, the page (index2.html) is only showing ONE of the three frames (it varies which one shows, but typically the header), and it changes the name of the page in the browswer to header.html (or whichever frame it chooses to show). How do I fix this to where ALL THREE frames show at once? Sorry for the stupid question--the part I thought would be the simplest has turned out to be the biggest pain in the butt! I've juggled code and tried using Inline Frames--same problem. This has been going on for three days now! SO FRUSTRATING! Clearly, it's just a mental block and I am probably missing something really simple. If someone could help me, I would greatly appreciate it! Thanks, Melanie I see this in other pages <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> What is it and do I need it in mine? So my post got deleted.... If you post something not up to standards do they just take it off? Im guessing this one lasts 2 minutes HTML Code: <select NAME="Number" onchange="frmDisplay.submit()"> <option VALUE="One">One - 1</option> <option VALUE="Two">Two - 2</option> </select> I don have any default value, I want my selection to show on the combo box only. For example, the default value now might be One-1, then when I select "Two-2", the page will be submitted. So, the page refresh, and I want the combo box shows "Two-2", instead of One-1, in the combo box. Can someone help me on that? Thank you hi, i am using combo box feature of HTML in my form i want to retrieve the data from my supplier database and show the names of supplier in one combo box. (so that user can select whichever supplier he wants) i used following code <select name=menu><option value=1>"+here is code for retrieving from supplier database+"</option></select> I am getting the results, but each supplier name is displayed in seperate combo box Can any one help me? thanks Can anyone please help.i am trying to create a sign up page for our golf society.What I am hoping i can do is to have a combbox with members names and a submit button to confirm if they are playing. When they press submit buton i would like an email to be automatically sent to me and a list compiledon the site or numbers of players signed up.If this is posible I would be gratefulof your help Hi. I was wondering if there were any generous souls in this forum that could help me out? I am new to HTML (et al) and am trying to test something here at work. I need to try and identify all the tags\attributes that might contain a URL (absolute path - Eg. http://mycompany.com ...). I am aware that links in HTML contain an href attribute. So I think I am all set there. However, there are other attributes that I might not be aware of. For example, an external javascript file etc. I believe that CSS, XML (et al ???) might also contain absolute URLs. I am just not sure if that's true or not. Would anybody be able to come up with a list of of languages and tags\attributes that might contain a URL. Or point me to a source that would have a consise list (versus having me spend a week researching all the possibilities). Thanks in advance. Sorry if this is a major PITA. Hi all, i m using following code to display suppliers name in 1 combo box "<select name=menu> <option value=1> "+@DbColumn("":"NoCache";"":"databasename";"viewname";2)+" </option> </select>"; but, instead of showing in 1 combo box it is shows seperate combo for each supplier I am using domino database and my coding is on both client and web. Please help Thanks A simple problem when I populate my combo using javascript my combo size changes (Problem is only on) Ie works ok in ff. My code is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>123</title> <script type="text/javascript"> function test(){ var listFileClass = document.getElementById('listFileClass'); alert("listFileClass ="+listFileClass); for (var loop = 0; loop < 6; loop=loop+1) { var newDomainValueOption = document.createElement('option'); newDomainValueOption.setAttribute("value",loop); newDomainValueOption.appendChild (document.createTextNode(loop)); listFileClass.appendChild(newDomainValueOption); } } </script> </head> <body> <table> <tr> <td width="100%"> <select style="width:100%" name="listFileClass" id="listFileClass"> </select> </td> <td> <input type="button" value="test" onclick="test();"> </td> </tr> </table> </body> </html> Hi friends, In my form I am using combo box(select control). I want to call a javascript function when i select a OPTION from the box. onChange=\"javascript:pricecodes(this.form,"+db.getLineItemNo()+"); When i select one option it is working fine. The problem is... In my combo box i have three option A,R,M. At the form load time combo box displays the option A.So if i want to select A then i have to go to some other option either R or M and then come back and select A, then only the javascript function pricecodes is invoked. What i want is If A is displayed in combo box at the loading of form, if i click A then the function should invoke(I used on click event too, In that case when ever i click the combo box funtion is invoking) Please help me Regards nevermind i found out why OK this is by no means a major problem. It's more of an annoyance. On my login script I have a basic form for logging in. Fire fox and IE will keep my login information for me when I get to the login page. The issue is that when the page loads my user name field will be blank however my email and password fields will have my info in it. On any other site I use, I would get the user name and email fields with my info and the password field blank. That's the way it should be. Below you will find a snipit of the code, There has to be something I'm missing. Thanks for your help! Code: <form action="index.php" method="post" name="user_login"> <tr> <td class="formNames" align="right" valign="middle" width="50%"> User Name: </td> <td align="left" valign="middle" width="50%"> <input class="formText" name="user_name" type="text" size="20" maxlength="35" value="<?php echo $user_name; ?>" /> </td> </tr> <tr> <td class="formNames" align="right" valign="middle"> Email Address: </td> <td align="left" valign="middle"> <input class="formText" name="email" type="text" size="20" maxlength="35" value="<?php echo $email; ?>" /> </td> </tr> <tr> <td class="formNames" align="right" valign="middle"> Password: </td> <td align="left" valign="middle"> <input class="formText" name="password" type="password" size="20" maxlength="25" /> </td> </tr> <tr> <td colspan="2" align="center"> <input class="submitButton" type="submit" value="Submit" name="enter" /> </form> </td> </tr> Thanks again!! Regards Guyzer Can anyone tell me why the first link works and the second one doesn't? The second link has been working fine for several years until today. http://www.tcm.com/schedule/index.js...zone=CST&cid=N http://www.tcm.com/schedule/index.js...zone=CST&cid=N Yes, I realize the first link has today's date. However, in the past, the second link has taken me straight to the correct page. Now I get the following message: Bad Gateway The proxy server received an invalid response from an upstream server. Did the site change a setting on their software? Any information or guidance you can provide will be greatly appreciated. Tom HTML code below shows a form with 5 fields. 1 field is already setup as a combo box. I would like to change the other 4 fields to combo boxes. I tried with no success. Can someone please help and change the 4 fields to combo box's to the below code? <style type="text/css"> #IDX-quickSearchForm { position: relative; height: 110px; width: 350px; } #QS-minPriceField { position: absolute; width: 100px; height: 12px; left: 92px; top: 9px; font-size: 10px; font-family: Arial; } #QS-maxPriceField { position: absolute; width: 100px; height: 12px; left: 92px; top: 29px; font-size: 10px; font-family: Arial; } #QS-minRoomsField { position: absolute; width: 50px; height: 12px; left: 272px; top: 29px; font-size: 10px; font-family: Arial; } #QS-minBathsField { position: absolute; width: 50px; height: 12px; left: 272px; top: 9px; font-size: 10px; font-family: Arial; } #QS-labelMinPrice { text-align: left; position: absolute; width: 85px; height: 22px; left: 20px; top: 10px; font-size: 10px; font-family: Arial; } #QS-labelMinRooms { text-align: left; position: absolute; width: 50px; height: 22px; left: 229px; top: 30px; font-size: 10px; font-family: Arial; } #QS-labelMinBaths { text-align: left; position: absolute; width: 50px; height: 22px; left: 229px; top: 10px; font-size: 10px; font-family: Arial; } #QS-labelCityList { text-align: left; position: absolute; width: 100px; height: 22px; left: 20px; top: 51px; font-size: 10px; font-family: Arial; } #QS-buttonSearch { position: absolute; width: 60px; height: 22px; left: 269px; top: 50px; font-size: 10px; font-family: Arial; } #QS-selectCityList { position: absolute; width: 105px; height: 17px; left: 92px; top: 49px; font-size: 10px; font-family: Arial; } #backLink {position:absolute; top:110px;} </style> <div id="IDX-quickSearchForm"> <form action="http://www.blablabla.com/form.php" method="get"> <input type="text" name="lp" id="QS-minPriceField" value="Min"> <input type="text" name="hp" id="QS-maxPriceField" value="Max"> <input type="text" name="bd" id="QS-minRoomsField" value="1"> <input type="text" name="ba" id="QS-minBathsField" value="1"> <div id="QS-labelMinPrice"<span style="color:#E5B65A;">Select Price:</div> <div id="QS-labelMinRooms"<span style="color:#E5B65A;">Rooms:</div> <div id="QS-labelMinBaths"<span style="color:#E5B65A;">Baths:</div> <div id="QS-labelCityList"<span style="color:#E5B65A;">Select Town:</div> <input id="QS-buttonSearch" type="submit" name="searchSubmit" value="Search" /> <select id="QS-selectCityList" name="city[]" value="Search" > <option value="487">Albertson</option> <option value="1017">Amagansett</option> <option value="1115">Amity Harbor</option> <option value="1116">Amityville</option> <option value="1410">Aquebogue</option> </select> </form> </div> |