go to  ForumEasy.com   
CSS + jQuery
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Example
 
Subject: Example
Author: CyberSpider
In response to: jQuery Syntax
Posted on: 08/01/2019 06:27:09 AM

$("p").click(function(){
  $(this).hide();
});


Try it yourself in sandbox »
 

> On 08/01/2019 06:20:34 AM CyberSpider wrote:

The syntax is:
$(selector).action(callback);


With jQuery you
  • select HTML elements by "selector",
  • perform "action" on them, and then
  • trigger "callback" function (optional)





    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.