- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to call a jQuery plugin without specifying any elements?
To call a jQuery plugin without specifying any elements, use extend method. Here’s a snippet showing how to call a jQuery plugin without specifying any elements:
$.fn.extend({ myFunction1: function(){...} }); $.extend({ myFunction2: function(){...} });
Above, you can see we’re calling myFunction1 and myFunction2 without specifying any elements and using jQuery extend.
- Related Articles
- How to call a jQuery plugin function outside the plugin?
- How to call a function inside a jQuery plugin from outside?
- How to create a custom jQuery Plugin?
- How to write a custom jQuery plugin?
- jQuery BlockUI Plugin
- jQuery Jcrop Plugin
- How to upload files using jQuery Dropzone Plugin?
- How to use jQuery touch events plugin for mobiles?
- How to call a jQuery library function?
- How to use API inside callbacks using jQuery DataTables plugin ?
- How to call a jQuery function after a certain delay?
- How to make a jQuery function call after “X” seconds?
- How to call jQuery function with JavaScript function?
- How to pull all elements from an array in MongoDB without any condition?
- Send keys without specifying element in Python Selenium webdriver

Advertisements