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

前端 未结 3 1255
陌清茗
陌清茗 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条回答
  •  感情败类
    2021-01-16 09:10

    visible="false" means it doesn't even get rendered into the page, so your selectors aren't finding any elements.

    Instead of visible="false" use style="display: none;" to hide the elements, yet still render them in the page.

提交回复
热议问题