Adding content from a Div into an input text field
Posted: 07 Oct 2018, 14:11
I still don`t understand how I can get the results from a div into a text input form field ?
I want to place the result from #div2 into this type text:
Code: Select all
<div id="div2"> Content </div>
Code: Select all
<input type="text" name="comment_content" rows="10" cols="50" id="comment_content" class="form-control" placeholder="Enter Comment" value="">