How to Add the list item to textbox in jquery ?

Posted by Aakash Chakravarthy on Stack Overflow See other posts from Stack Overflow or by Aakash Chakravarthy
Published on 2010-05-30T06:48:52Z Indexed on 2010/05/30 6:52 UTC
Read the original article Hit count: 274

Filed under:
|

Hello, I have a list

<ul id="list">
<li>list1</li>
<li>list2</li>
<li>list3</li>
</ul>

and text box

<input type="text" name="textfield" id="tb" value="" />

When i click a button, all the list items should be in the textbox like this list1 list2 list3 I want to do this in jquery. Please help me.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html