Could not access asp.net control ID in jquery

前端 未结 2 1416
梦如初夏
梦如初夏 2020-12-21 12:10

I have this html structure:


  
2条回答
  •  春和景丽
    2020-12-21 12:56

    You should use actual generated HTML id using below syntax

    That means you need to use client ID which can be accessed via below syntax

    $('#<%= specialId.ClientID %>')
    

提交回复
热议问题