Answer & Solution
$('select').on('change', function() {...});
<select>
elements using jQuery?
$('select').on('change', function() {...});
Which jQuery method is used to bind event handlers for future elements?
A). $('element').live();
B). $('element').attach();
C). $('element').on();
D). $('element').delegate();
How to bind a scroll event handler to the window using jQuery?
A). $(window).scroll(function() {...});
B). window.addEventListener('scroll', function() {...});
C). $('window').bind('scroll', function() {...});
D). $('window').on('scroll', 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() {...});
Which jQuery method is used to bind event handlers to elements that match a selector, now and in the future?
A). $(document).delegate(selector, eventType, function() {...});
B). $(document).live(selector, eventType, function() {...});
C). $(document).on(eventType, selector, function() {...});
D). $(document).bind(eventType, selector, function() {...});
Which jQuery method is used to bind event handlers to the document itself?
A). $(document).on();
B). $(document).bind();
C). $(document).attach();
D). $(document).delegate();
Which jQuery method is commonly used to bind event handlers to DOM elements?
A). $('element').bind();
B). $('element').attach();
C). $('element').on();
D). $('element').trigger();
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();
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() {...});
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 jQuery method is used to bind event handlers to elements with a specific CSS class?
A). $('.class').on();
B). $('.class').attach();
C). $('.class').bind();
D). $('.class').delegate();