Answer & Solution
$(document).on(eventType, selector, function() {...});
$(document).on(eventType, selector, function() {...});
How to bind a change event handler to all<select>
elements using jQuery?
A). $('select').on('change', function() {...});
B). $('select').addEventListener('change', function() {...});
C). $('select').bind('change', function() {...});
D). $('select').change(function() {...});
How to bind a blur event handler to all<input>
elements using jQuery?
A). $('input').bind('blur', function() {...});
B). $('input').blur(function() {...});
C). $('input').on('blur', function() {...});
D). $('input').addEventListener('blur', function() {...});
Which method is used to bind multiple event handlers to the same DOM element in jQuery?
A). $('element').addHandlers({...});
B). $('element').on({...});
C). $('element').bind({...});
D). $('element').attachHandlers({...});
Which jQuery method is used to bind event handlers to elements that are currently matching a selector?
A). $(selector).on();
B). $(selector).bind();
C). $(selector).live();
D). $(selector).delegate();
How to unbind a specific click event handler function from all<code><button>
elements using jQuery?
A). $('button').unbind('click', clickHandler);
B). $('button').off('click', clickHandler);
C). $('button').removeEventListener('click', clickHandler);
D). $('button').off(clickHandler);
How to bind a keydown event handler to the document using jQuery?
A). $(document).keydown(function(event) {...});
B). document.addEventListener('keydown', function(event) {...});
C). $('document').on('keydown', function(event) {...});
D). $('document').keydown(function(event) {...});
Which jQuery method is used to bind event handlers for future elements?
A). $('element').live();
B). $('element').attach();
C). $('element').on();
D). $('element').delegate();
Which jQuery method is used to unbind event handlers from DOM elements?
A). $('element').unbind();
B). $('element').removeEventListener();
C). $('element').off();
D). $('element').remove();
Which method is used to bind a one-time event handler to a DOM element in jQuery?
A). $('element').once();
B). $('element').one();
C). $('element').bindOnce();
D). $('element').on('once', function() {...});
How to bind a focus event handler to all<input>
elements using jQuery?
A). $('input').on('focus', function() {...});
B). $('input').addEventListener('focus', function() {...});
C). $('input').bind('focus', function() {...});
D). $('input').focus(function() {...});