3 Replies Latest reply on May 27, 2015 8:38 PM by bepb80968504

    How do I add an onBlur event for a text input field?

    bepb80968504

      I have a text input field:

       

      var annual_input= sym.$("annual_input");

      annual_input.html('<input value="108960" title="How often?" id="annual_input" type="text" style="font-size: 50px; width:230px; height:76px; border:0px; background:#000000; font-family:Courier, monospace; color:#00cc99; text-align:center;" />');

       

      When this field loses focus I need to trigger a function UpdateAnnual(). How can I do this? I've tried so many different options from the sample codes listed here: onblur Event