Hi, I'm trying to get a numerictextbox from client. I always get the message "Microsoft JScript runtime error: 'null' is null or not an object"
My JAVASCRIPT
<div id="Div1" runat="server"> |
<script language="javascript" type="text/javascript"> |
function Itinerario() |
{ |
var CUENTAS = $find('<%=TxtNroCtas.ClientID%>'); |
if (document.getElementById('RBTipoItinerario_0').checked==true) |
{ |
div = document.getElementById('HORARIOS'); |
div.style.display=''; |
CUENTAS.set_visible(false); |
} |
if ( document.getElementById('RBTipoItinerario_1').checked==true) |
{ |
div = document.getElementById('HORARIOS'); |
div.style.display='none'; |
CUENTAS.set_visible(true); |
} |
} |
</script> |
</div> |
My INPUT
<telerik:RadNumericTextBox ID="TxtNroCtas" Runat="server" Skin="Office2007"> |
<NumberFormat DecimalDigits="0" GroupSeparator="" /> |
</telerik:RadNumericTextBox> |