<f:HiddenField runat="server" ID="cat_id" Text="ssss"/>


  var strDate = $("#<%=this.cat_id.ClientID %>").val();
alert(strDate);
这样不行。

 var strDate = $('input[name="<%=this.cat_id.ClientID %>"]').val();

            alert(strDate);

这样搞定了!!!

 

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-11-29
  • 2021-11-27
相关资源
相似解决方案