This is a migrated thread and some comments may be shown as answers.

onblur not working

1 Answer 64 Views
Input
This is a migrated thread and some comments may be shown as answers.
Webster Velasco
Top achievements
Rank 2
Webster Velasco asked on 21 Apr 2010, 04:25 PM
hi
my onblur code isnt working
         function Blur(sender, eventArgs) 
         { 
           var nda = document.getElementById("<%= txtIMPORTOEURO.ClientID %>"); 
           var imp = document.getElementById("<%= txtIMPORTOVALUTA.ClientID %>"); 
                imp.set_value(sender.get_value() - nda.value); 
         } 

my txtIMPORTOVALUTA doesnt change value

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 22 Apr 2010, 05:37 AM

Hello,

Use the $find() method to get the client side object of RadControls for ajax version.

          var imp = $find("<%= txtIMPORTOVALUTA.ClientID %>"); 

Also checkout the documentation for more information on this topic:

Client-Side Basics

-Shinu.

Tags
Input
Asked by
Webster Velasco
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or