Hey,
I'm trying to get the value of a masked input field via javascript.
I'm using version 2.1.5.0 of the RadInput.Net2
On the founds I found:
http://www.telerik.com/community/forums/aspnet/input/radmaskedtextbox-javascript-value.aspx
http://www.telerik.com/community/forums/aspnet/input/input-into-radmaskedtextbox-with-qtp.aspx
However It's not working.
I've tried:
alert(document.getElementById('_ctl0_ph_txtSocialSecurityNumber').GetValue());
alert($find('_ctl0_ph_txtSocialSecurityNumber').GetValue());
alert(_ctl0_ph_txtSocialSecurityNumber.GetValue();
And a few other variations. Nothing works. I can get the value with jQuery and other methods but i need the unmasked version. The same functionality as the new version:
http://www.telerik.com/help/aspnet-ajax/input_clientsideradmaskedtextbox.html
get_value - Returns the value of the text box. This is the string without any prompt characters or literals.
Any ideas?