SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need urgent help

    Hi everyone, l am doing a project for college and am having trouble.

    I am doing a car sales project, where once they select the make, it will bring them into the model. I have tried and tried and tried, if anyone can take a look and see what i am doing wrong it would be so greatly appreciated.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    <title>SalesPage1</title>
    </head>
    <h3><b>Trent Dickinson's Online Shop</b></h3>

    <form name="myMakes" action="SalesPage2.htm",/form>
    <table>

    <tr>
    <td>
    <select id="makes" onChange="getModel()">
    <option value="noSelection" selected>Please select a make</option>
    <option value="Audi">Audi</option>
    <option value="BMW">BMW</option>
    <option value="Honda">Honda</option>

    <option value="Toyota">Toyota</option>
    </select>
    </td>
    <td>

    <select id="model" onChange="getQ()" style="display:none"></select>

    <table>

    <tr>

    <td>
    <select id="makes" onChange="getModel()">
    <option value="noSelection" selected>Please select a Model</option>
    <option value="Audi">Audi</option>
    <option value="BMW">BMW</option>
    <option value="Honda">Honda</option>
    <option value="Toyota">Toyota</option>

    </select>
    </td>
    <td>

    </td>

    <td>
    <div id="loc_quantity" style="display:none">

    Quantity: <input id="quantity" name="quantity" type="text" value="" size="1" onKeyUp="getSubmit()">

    </div>
    </td>

    <td>
    <div id="loc_submit" style="display:none">
    <input name="mySubmit" type="submit" value="Continue">
    </div>
    </td>


    </tr>
    <tr>
    <td colspan="3"><div class="messagebox" id="messagebox" style="display:none"></div>

    </td>
    </tr>

    </table>





    </body>
    </html>

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How about actually asking a JavaScript question?

  3. #3
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,046
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)

    help

    You forgot to post your code. And please use the bbcode tags, it formats the code so it's easier to read.

  4. #4
    SitePoint Enthusiast
    Join Date
    Nov 2006
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mittineague View Post
    You forgot to post your code. And please use the bbcode tags, it formats the code so it's easier to read.
    Yeah that is what i was wondering...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •