How to use Misc Get() Method in JQuery

In this article I am going to explain about Misc get() method in jquery
  • 1584

jQuery Misc get() Method

jquery Misc Get() Method use for get the name and value of any selected element.








    <script type="text/javascript" src="jquery.js"></script>

    <script type="text/javascript">

        $(document).ready(function () {

            $("button").click(function () {

                pp = $("h2").get(0);

                $("p").text(pp.nodeName + "   :-" + pp.innerHTML);







        This is the heading of document</h2>


        click me</button>









You may also want to read these related articles: here
Ask Your Question 
Got a programming related question? You may want to post your question here
© 2020 DotNetHeaven. All rights reserved.