By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

Which TextBox Event i write afunction in javascript

shek124
P: 50
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
Jul 30 '08 #1
Share this Question
Share on Google+
3 Replies


gits
Expert Mod 5K+
P: 5,343
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
Jul 30 '08 #2

shek124
P: 50
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
Jul 30 '08 #3

gits
Expert Mod 5K+
P: 5,343
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
Jul 30 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.