Tags
Asked 3 years ago
10 Jun 2021
Views 224
Terrill

Terrill posted

Get value of div content using jquery

how to Get value of div content using jquery ?

ravi

ravi
answered Jun 10 '21 00:00


<div id="placeholder" class="placeholder">Samsung</div>


following code will extract the text by selector

$(".placeholder").text();

or

$(".placeholder").text();
Post Answer