jvcgamer Posted November 15, 2009 Share Posted November 15, 2009 Hello, my question is simple but i cant doit and thats why im asking for help. Im tring to make a Value box apear once i put an option of another one. example: theres a selecting box and it says Pay Per Slot so the after you select that the other value opens and tells you how many you whant. This is the code i have: <p>Choose one <select name="choises" size="1"> <option value=" Basic ">Basic</option> <option value=" Median ">Median</option> <option value=" Pro ">Pro</option> <option value=" Gold ">Gold</option> <option value=" Super ">Super</option> <option value=" Pay Per SLot ">Pay Per Slot</option> <-- This Option </select> once a person chooses Pay Per Slot a new value box apears like this one: <p>Slots: <select name="slots" size="1"> <option value=" 1-20 ">1-20</option> <option value=" 30-40 ">30-40</option> </select> Quote Link to comment Share on other sites More sharing options...
trq Posted November 15, 2009 Share Posted November 15, 2009 Your solution needs to happen client side (to be efficient), and thats javascript, not php. Quote Link to comment Share on other sites More sharing options...
jvcgamer Posted November 15, 2009 Author Share Posted November 15, 2009 Your solution needs to happen client side (to be efficient), and thats javascript, not php. But could i use this in a PHP webpage? could you help me Quote Link to comment Share on other sites More sharing options...
trq Posted November 15, 2009 Share Posted November 15, 2009 But could i use this in a PHP webpage? Yes. could you help me Your question belongs in the Javascript help board. I have reported this post so it will get moved there. Quote Link to comment Share on other sites More sharing options...
jvcgamer Posted November 15, 2009 Author Share Posted November 15, 2009 What about an If ? , and ok Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.