Difference between $('selector').methodname() and $.methodname() while calling method
Hi,Generally, in jquery we use syntax like $('selector').methodname() to call any method. But sometimes I have seen jquery scripts where they use $.methodname directly without any selector in brackets following dollar sign i.e. $('selector').methodname()
Please state the difference between $('selector').methodname() vs $.methodname() while calling method.