UpTest > Web Development > jQuery Test

Test: jQuery Test

Question 71: Prev Next

Select the recommended way of calling multiple functions one after another on an element:

$(‘#someElement’).hide();
$(‘#someElement’).html(‘Hide!’);
$(‘#someElement’).customFunction();
$(‘#someElement’).hide().html(‘Hide!’).customFunction();
var someElement = $(‘#someElement’);
someElement.hide();
someElement.html('Hide!');
someElement.otherStuff();
Please login to submit your answer.