Podcast
Questions and Answers
What is the primary difference between a jQuery plugin and a jQuery UI widget?
What is the primary difference between a jQuery plugin and a jQuery UI widget?
- jQuery plugins are more customizable
- jQuery plugins can associate data with elements
- jQuery plugins can be used to govern the lifetime of the plugin
- jQuery widgets are executed within an object context (correct)
What is the first step to creating a progress bar with a jQuery plugin?
What is the first step to creating a progress bar with a jQuery plugin?
- Invoke jQuery. widget() with two parameters (correct)
- Create a new plugin instance
- Set the progress once
- Execute all functions within a DOM element