[英]How to get the id of telerik element in the javascript?
如何在我的JavaScript中访问telerik元素ID。 我尝试使用
$find("<%=radcontrol.ClientID%>")
。 但这对我不起作用。
你可以尝试这样的事情,
var radControl = $telerik.$("[id$='RadEditor1']").attr("id");
radControl = "#" + radControl;// here you 'll get the id telerik of element
$telerik.$(radControl).hide(); //like this you can access it
$=
在选定的jquery中表示元素的ID必须以提供的字符串结尾。 在这种情况下, "RadEditor1"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.