The ListItem of the last RadioButtonList is "Other Accounts". When selected, the corresponding asp is added afterwards .net server control. Removes the control when selecting Others.
It is worth noting here that If the control after append is a server control, that is, it has the runat="server" attribute, the original single quotes will automatically become double quotes after the source is generated, and runat="server" will disappear. This is actually the same as manually writing the DOM structure in the foreground. Net framework processing. Therefore, when you open the source file of this page, you can see the following
But unfortunately, the server control still does not work...
Let’s solve it by hiding the server control –!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn