Which TextBox Event i write afunction in javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shek124
    New Member
    • Oct 2007
    • 50

    Which TextBox Event i write afunction in javascript

    Hai to everybody,

    I have done a javascript calender in my aspx page..

    when a calender image clicks, the datevalue is bind to the textbox near the calender in my page..

    its works fine.. After when a date is changed in Textbox, i would do some function...

    i dont know which textbox event can write the function.. Plz anybody help me..

    before i have tried on OnBlur and Onkeyup and On Change Event.. they all are failed

    thanks in advance
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5388

    #2
    show what you have tried ... the following code works with textboxes onchange:

    [HTML]<input type="text" id="my_box" onchange="alert ('foo');"/>[/HTML]
    kind regards

    Comment

    • shek124
      New Member
      • Oct 2007
      • 50

      #3
      thanks for yr reply..

      I have bind the textbox through javascript.. So it didnt fire the onchange event even the date is changed in my textbox

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5388

        #4
        what does that mean? it just could redirect the event to the binded code (even when this code just cancels the event) ... so you just have to call the function from there ... without knowing what you have coded it would be guesswork to say anything more to that ...

        kind regards

        Comment

        Working...