Answer: d. *
Explanation: The '*' symbol is used to select all the elements in the page.
Answer: a. True
Explanation: The above statement is true. The $('#pcds').attr('disabled', true); these code is used for the disable form element.
Answer: a. True
Explanation: The above statement is true. There are two ways in JQuery to change the width of the element.
First you can use the .css() method passing in the first parameter as height or width and the second parameter being the value. For example,
$('.element').css('height', new_height_value);
$('.element').css('width', new_width_value);
And, second you can use the .height() method and the .width() method. For example,
$('.element').height(new_height_value);
$('.element').width(new_width_value);
Answer: d. .animate()
Explanation: JQuery provides a powerful .animate() method that allows us to create our own custom animations with fine-grained control.
Answer: a. .data()
Explanation: JQuery provides .data() method which is used to set/return arbitrary data to/from an element.
Answer: b. noConflict()
Explanation: Multiple javascript library coexist on single page using noConflict(). This method releases the hold on the $ shortcut identifier, so that other scripts can use it. The noConflict() method returns a reference to jQuery, that you can save in a variable, for later use.