Display HTML DIV value in TextBox using jQuery

v@run
 
on Dec 16, 2018 11:59 PM
1838 Views

im using a div tag and i want to display the selected div tag value in the input box

Download FREE API for Word, Excel and PDF in ASP.Net: Download
v@run
 
on Dec 17, 2018 04:00 AM

this is the answer

<script>
    $(document).ready(function () {
        $(".item").click(function () {
            $("#lenght").attr('value', $(this).attr("value"));
            return false;
        });
    });
</script>