onblur not working

2 posts, 0 answers
  1. Webster Velasco
    Webster Velasco avatar
    115 posts
    Member since:
    Nov 2009

    Posted 21 Apr 2010 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 Apr 2010 Link to this post


    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


Back to Top