jQuery Multiple choices


Total available count: 24
Subject - JavaScript Frameworks
Subsubject - jQuery

The jQuery animate() method can be used to animate ANY CSS property?


 

 

 

 



A


Solution:-

The jQuery animate() method is used to create custom animations of a set of CSS properties. This method changes an element from one state to another state with CSS styles. The CSS property value is changed gradually, to create an animated effect. Only numeric values can be animated (like "margin:50px" & "padding:40px;).

Syntax & Example as given below:

Syntax:

$(selector).animate({params},speed,callback);

Example:

$("button").click(function(){
 $("div").animate({left: '300px'});
});?



Next 5 multiple choice(s)

1

Which jQuery method returns the direct parent element of the selected element?

2

Look at the following selector: $(":disabled"). What does it select?

3

Which jQuery method is used to remove selected elements?

4

Look at the following selector: $("p#intro"). What does it select?

5

Is jQuery a W3C standard?

Comments