Welcome visitor
* Login
* Register
It is currently March 26th, 2019, 6:33 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  dropdown or input
PostPosted: June 3rd, 2009, 6:30 am 
User avatar

Posts: 52
how can i give the option to add a selection to a dropdown list if the desired option is not on the dropdown menu already?

cheers


Top
 Profile  
 
  Re: dropdown or input
PostPosted: June 3rd, 2009, 6:45 am 
User avatar

Posts: 137
<select style="width: 220px" onchange="if(this.value==1){this.style.display='none';
document.getElementById('text').style.display='inline';
document.getElementById('text').select();}">
<option>this</option>
<option>that</option>
<option value="1">i dont see my option</option>
</select>
<input id="text" style="width:220px; display: none" value="type your option" />


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron