单击RadButton Telerik时如何调用Java脚本中存在的函数?我使用此代码但它不起作用
<telerik:RadButton ID="RadButtonClear" runat="server" Height="40px" Text="Clear"
OnClientClicked="x();">
</telerik:RadButton>
<input name="text" id="idname"/>
javascript代码:
<script type="text/javascript" language="JavaScript" >
function x(button, args)
{
document.getElementById('idname').value = "1";
}
</script>