Not sure what is wrong... HELP pleasE??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chrisjc
    Contributor
    • Nov 2006
    • 375

    Not sure what is wrong... HELP pleasE??

    I have a group of drop downs and on one of my DIV I have a set message to me displayed how ever with Select Fuel it is not work...

    http://triplesource.ne t/db/IntakeSytemstes t.php

    That is the link select GAS OR DIESEL to see what I mean... any ideas??? here is my vars for AJAX...
    Code:
    var ajax = new sack();
    var div1 = '<select id="make" name="make" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getModel(this)"><option value=""Select Made</option></select>';
    var div2 = '<select id="model" name="model" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getYear(this)"><option value="">Select Model</option></select>';
    var div3 = '<select id="year" name="year" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getEng(this)"><option value="">Select Year</option></select>';
    var div4 = '<select id="engtype" name="engtype" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getLiter(this)"><option value="">Select Engine Type</option></select>';
    var div5 = '<select id="liter" name="liter" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getPart(this)"><option value="">Select Liter</option></select>';
    var div6 = '<br /><br /><br /><br /><br /><p style="text-align:center">aFe Product search browser&nbsp;<b>Version 1:</b><br />By selecting Fuel, Make, Model, Year, Engine type and Liter, Your results will be displayed here with a Part Number and a Description of the selected product.&nbsp;<br /></p>';
    and here are my DIV's

    Code:
    <DIV ID="divmsg1" STYLE="font-family:Tahoma;font-size:10pt;top:3px;right:0px;position:relative;height:26px;overflow:hidden;">
       <select id="make" name="make" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getModel(this)"><option value="">
    	Select Make</option></select>
       </DIV>
       <DIV ID="divmsg2" STYLE="font-family:Tahoma;font-size:10pt;top:0px;right:0px;position:relative;height:26px;overflow:hidden;">
        <select id="model" name="model" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getYear(this)"><option value="">
    	Select Model</option></select>
       </DIV>
       <DIV ID="divmsg3" STYLE="font-family:Tahoma;font-size:10pt;top:0px;right:0px;position:relative;height:26px;overflow:hidden;">
         <select id="year" name="year" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getEng(this)"><option value="">
    		Select Year</option></select>
       </DIV>
       <DIV ID="divmsg4" STYLE="font-family:Tahoma;font-size:10pt;top:0px;right:0px;position:relative;height:26px;overflow:hidden;">
         <select id="engtype" name="engtype" style="font-family:Tahoma;font-size:10pt;width:185px;" onchange="getLiter(this)"><option value="">
    		Select Engine Type</option></select>
       </DIV> 
       <DIV ID="divmsg5" STYLE="font-family:Tahoma;font-size:10pt;top:0px;right:0px;position:relative;height:26px;overflow:hidden;">
         <select id="liter" name="liter" style="font-family:Tahoma;font-size:10pt; width:185px;" onchange="getPart(this)"><option value="">
    		Select Liter</option></select>
       </DIV>  </td>
    		<td rowspan="2">
    			<img src="images/v1_04.jpg" width="7" height="310" alt=""></td>
    		<td bgcolor="#FFFFFF" align="left" background="images/afe-logo.jpg">
    		<DIV ID="divmsg6" STYLE="top:4px;right:0px;text-align:left;position:relative;font-family: Tahoma; font-size: 10pt; height:279px;width:509px"></DIV>
    Thanks in advanced!
  • TheMadMidget
    New Member
    • Oct 2006
    • 98

    #2
    The only thing I see wrong, may be what you are talking about, not sure, is that you can change the Fuel to Select Fuel and nothing changes and that if you click the next select (if all cases) the list updates while dropdown is dropped down(open for viewing). I would suggested disabling all the selects until the one above has a valid option selected.

    Comment

    Working...