EXPLAIN THE CONCEPTS OF "$ FUNCTION" IN JQUERY WITH AN EXAMPLE?

AVADHESH PATEL

Total Post:257

Points:1285
Posted by  AVADHESH PATEL
JQuery 
 2222  View(s)
Ratings:
Rate this:
  1. AVADHESH PATEL

    Post:257

    Points:1285
    Explain the concepts of "$ function" in jQuery with an example?

    $(document).ready(function() {});
        $("a").click(function() {});

        $.ajax({
        url: "someurl.php",
        success: function() {}
        });

        $ is anonymous of jquery
       
        ex : $("a") or

        jquery("a") both are equal

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!