Jack Php
Jack Php

Reputation: 577

create textbox inside select

here is my simple html code for drop down list:-

<span id="Div_List">
    <label for="Gender">For:</label>
    <select name="Gender" id="Sex">
      <option value="1">1000mtr</option>
      <option value="2">1500mtr</option>
      <option value="3">2000mtr</option>
    </select>
</span>

i want to create one textbox inside select.
how its possible? if any way to do this please suggest your idea.
thanks.

Upvotes: 0

Views: 1648

Answers (4)

biniam
biniam

Reputation: 8199

Read this for more info:

I hope it helps.

Upvotes: 0

PSR
PSR

Reputation: 40318

You can use jQuery .comboBox() in jQuery.It will hide the selectbox and it creates a text box to enter the data which is going to autopopulate

Upvotes: 0

Kasyx
Kasyx

Reputation: 3200

Its impossible using strict html. You have to emulate it.

For example chosen is really nice plugin which you can check.

Upvotes: 0

Makram Saleh
Makram Saleh

Reputation: 8701

I guess you're looking for something like this.

Upvotes: 1

Related Questions