Blog Error Correction: students correct the names of the Olympic Games

Source: Internet
Author: User

Blog Error Correction: students correct the names of the Olympic Games

 

The order of retrieved element ranges is as follows:

$ (# One). siblings ("div") >$ ("# one ~ Div ") >$ (" # one + div ")

Or $ (# one). siblings ("div") >$ (# one). nextAll ("div") >$ (# one). next ("div ")

 

 

The show and hide methods of jquery objects can be used to display and hide elements, or the display style table attributes of dom objects can be used to display and hide elements.

 

 

 

Obtain the title value of tag a through attr ("attribute name ").

 

 

This question examines the jquery animation effect. For the visibility operation, $ {'div: visable'} selects the div under all visible bodies, css ("background", "red") sets the background color to red.

 

 

 

This topic describes how to obtain related elements and how to add or delete classes to and from related elements. You need to delete the class from all the li, and then add the class to the suspended li, As long as C is correct.

 

 

This is a comprehensive application of DOM operations in jQuery. Option A can change the text of the layer, and option B can change the html content of the layer, so AB is the correct answer. Option C and D are incorrect syntax.

 

 

 

This question examines the use of jquery's slideUp () and slideDown. Both methods can change the height of the element. slideUp () is used to shorten the hidden element from bottom to top, and slideDown () is used to show the element extending from top to bottom.

 

 

No length () method or size attribute

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.