Home > Article > Web Front-end > How to operate custom properties of web controls through javascript_javascript skills
When programming, you sometimes use custom properties of web server controls. For example, there is no IsNotNull property in the TextBox control, but we can add an IsNotNull property ourselves to use it as a mark to facilitate our programming.
Although the IDE will prompt a warning message "IsNotNull is not a property of TextBox", it does not prevent us from using it!
Code:
Write Javascript code: