Hi,
I am trying to enable//disable RadNumericextBox using javascript.
I am using the following as I saw in the documentation but i get the error: ntbRetention.enable is not a function
function UseBackupChanged(useBackup,ntbRetentionId) { |
var ntbRetention = document.getElementById(ntbRetentionId); |
if (useBackup == true) { |
ntbRetention.enable(); |
} |
else { |
ntbRetention.disable(); |
} |
} |
Can anyone please help what am I doing wrong??
Thanks!
Ruth