Jump to content

Recommended Posts

I am using some scripts kindly provided by Barand. I have modified them to suit and all works well - mostly.

 

When the user clicks on a input box, dropdown 1 appears (populated). User can then choose from box 1 and box 2 appears etc.

 

Problem is, I dont want the initial input box, but if its not there, the first box doesnt appear.

 

Heres some code:

 

<FORM  method='GET' name='booking'>

         Search 
           <input type='TEXT'  name='srchDest' size='10' maxlength='15' onClick="getDests(this.value);"
         onKeyUp="">
      
         <span id='dests'>Enter part name in search box</span> <br>

    
         <span id='origins'> </span>    <br>

         <span id='times'> </span>     

      
      
         <INPUT TYPE='SUBMIT'  name='submit' value='Book seats'>  


</FORM>

 

Any ideas?

 

Thanks,

Sam.

Link to comment
https://forums.phpfreaks.com/topic/83994-dropdown-mysql-feature-small-problem/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.