Display/hide controls on the client side

Source: Internet
Author: User
Set the display adequacy in the style of the control:

When the value is displayed as "", it is the implicit display; when the value is none, it is hidden!

The method for setting the sensitivity on the client side: Document. getelementbyid ("ID"). style. Display = ""/"NONE ";

This. Id. style. Add ("display", ""/"NONE ");

If you only set whether the control is displayed on the server side, you can directly set the visibility of the control.

However, if you want to enable this feature on the client side, you cannot set this feature. Because when visible is set to false, the control cannot be found on the client side, in addition, it is impossible to set its adequacy.

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.