I want to get the value of div this is my html code
how can i do this using jquery
<div class="form-control" id="user">
product
</div>
thanks in advance..
Home / DeveloperSection / Forums / Get value of div content using jquery
I want to get the value of div this is my html code
how can i do this using jquery
<div class="form-control" id="user">
product
</div>
thanks in advance..
Sunil Singh
10-Dec-2017Use .text() to extract the content of the div
hope it helps you..