What is the difference between $ and $$?

前端 未结 7 1045
执笔经年
执笔经年 2020-12-15 09:19

I have been going through some jQuery functionality.

Can any one please give me some idea of what the difference is between the use of $ and $$

7条回答
  •  感情败类
    2020-12-15 09:55

    Short Anser: $$ is NOT defined in jQuery specifications, in addition the notation of single $( ) - sign means you encapsulate things inside bracket to a jQuery object.

    Thus, alias $ is an abbreviation to say - i am using jQuery library, where as double $$ is not defined in a standard jQuery library.

提交回复
热议问题