1

As it is stated at w3schools in jQuery tutorial:

$(selector).action()

From a theoretical point of view .action() is a jQuery method or a jQuery function ?

  • See this related question about methdos and functions: http://stackoverflow.com/questions/155609/difference-between-a-method-and-a-function – Sami Nov 17 '15 at 19:40

1 Answers1

2

$(selector) is a jquery object who represents DOM element, so .action() is a method.

Mindsers
  • 662
  • 8
  • 25