JQuery .Show() doesn't work with server control?

前端 未结 3 1284
陌清茗
陌清茗 2021-01-16 08:29

I have 2 html TR that i make them runat=\"server\" & visible=\"false\" and I have a dropdownlist called citiesDropDownList

<
3条回答
  •  猫巷女王i
    2021-01-16 09:01

    If you set visible = "false" on a server control, then the control is not even rendered to the browser. Set display: none instead and then show the control with display: block in your javascript.

提交回复
热议问题