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

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  populate input
PostPosted: May 26th, 2009, 7:34 am 

Posts: 25
hi, i have a form with a text input and a dropdown menu. how can i populate de input with the info from the dropdown? does that make sense?


Top
 Profile  
 
  Re: populate input
PostPosted: May 26th, 2009, 7:42 am 
User avatar

Posts: 137
<select onchange="document.getElementById('txt').value=this.value;">

<input id="txt" />


Top
 Profile  
 
  Re: populate input
PostPosted: May 26th, 2009, 7:42 am 

Posts: 25
thanks bro


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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