Re: onchange does not work
How about you try either onkeypress, onkeyup or onkeydown.
I'm not sure onchange is triggered in all browsers for an input text field.
// Json
Re: onchange does not work
onkeyup is also not working. See, my intention is to invoke this javascript function on the lostfocus of the second text box. This function should be invoked in all cases ie. when the user fills the text box with keyboard input as well as by clicking on the calendar image. Which is the best option to ensure that this function is invoked regardless of the method of input?
Re: onchange does not work
How about adding an onblur to that second text box instead then :)
Otherwise you might have to bind to many of these event to ensure that the method will get run.
// Json
Re: onchange does not work
thanks..used onblur and it made a difference..