
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Questions & Answers
- 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?
- How can I write a custom plugin for jQuery?
- How to call a jQuery library function?
- How to call a jQuery function after a certain delay?
- How to pull all elements from an array in MongoDB without any condition?
- How to quit smoking without any medicine?
- Send keys without specifying element in Python Selenium webdriver
- How to call jQuery function with JavaScript function?
- What happens if we call "super()" in a constructor without extending any class, in java?
- HTML5 video not working with jquery bxSlider plugin on iPad
- How to make a jQuery function call after “X” seconds?
- How to send JSON data to server using jQuery Ajax call?
Advertisements