Php-kindly advise !~ Multiple identical elements are implemented. After you select one of the elements, other elements are not selected ??

Source: Internet
Author: User
There are four ratings. when you click a rating to add a class on, other comments are not clicked and only prompt that you have already commented on it ~ It took me a long time ~ Please kindly advise (I will add on to each li in my current practice! Annoying )! IMG (img.ask.csdn.netupload201612031480762816_787007.jpg) phpjavascriptwebjqueryhtml5

There are four ratings. when you click a rating to add a class on, other comments are not clicked and only prompt that you have already commented on it ~ It took me a long time ~ Please kindly advise (I will add on to each li in my current practice! Annoying)

Reply content:

Have you ever wondered if something is wrong .. You should click which one should be added with on, and then remove other li's on styles at the same time. Are you sure you want to click it without modifying it? First, you can determine whether the li has an on entry, if you do not click an existing on, a prompt is displayed.

 

  
  • Very satisfied
  • Satisfied
  • Average
  • Difference

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.