Select All jQuery invert click to change the background color

Source: Internet
Author: User

I first release the CSS style, but this can be ignored directly.

{:;:;:;:;}{:;}{:;:;}{:;:;}{:;}

Let's take a look at the HTML structure of the page.

ID title publisher release time 1 What are the three things Alibaba has done right? Internet: 16 traditional industries that have been rewritten by the internet, internet 2013-07-01 3 What if the smartphone market changes? Internet how Ford defended against Google Apple? Internet 2013-07-01

Implement Functions

1) Click the row to change the background color.

2) Select All/select all

$().bind( oThis = $( (oThis.hasClass().children().removeAttr().children().attr(,  len = $().find( count = ).find( That = $( (That.prop() == ++ (len ==).attr(, ).removeAttr($().bind( oThis = $( (oThis.prop() == ).find().attr(, ).find().parents().addClass().find().removeAttr().find().parents().removeClass(

 

PS: The functions are too simple, so I am sorry to send them out. However, at work, there will often be some disruptive agents.

You can also improve your attention. Thx, that's all

 

Postscript: All functions have been completed and are now edited and released again

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.