How to call a function that exist in java script when click on RadButton Telerik?I use this code but it does not work
<telerik:RadButton ID="RadButtonClear" runat="server" Height="40px" Text="Clear"
OnClientClicked="x();">
</telerik:RadButton>
<input name="text" id="idname"/>
javascript code:
<script type="text/javascript" language="JavaScript" >
function x(button, args)
{
document.getElementById('idname').value = "1";
}
</script>
<telerik:RadButton ID="RadButtonClear" runat="server" Height="40px" Text="Clear"
OnClientClicked="x">
</telerik:RadButton>
<input name="text" id="idname"/>
Try This......
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.