In jQuery, what does $.fn. mean? I looked this up on google and found the below answer.
It allows you to extend jQuery with your own functions.
For example, $.fn.something = function{} will allow you to use $("#element").something().
$.fn is also synonymous with jQuery.fn which might make your Google searches easier.
It allows you to extend jQuery with your own functions.
For example, $.fn.something = function{} will allow you to use $("#element").something().
$.fn is also synonymous with jQuery.fn which might make your Google searches easier.
Comments
Post a Comment