the onchange event will only fire after you 'blur' the input. You
might want to use the keydown event for real-time checks.

- ricardo

On Nov 26, 11:55 am, mangajin <[EMAIL PROTECTED]> wrote:
> I am working on JQuery event that populate another function when the
> user click the check box, radio buttion and the drop down list. They
> are all work fine with 'change(fn)'. However the problem I found is
> when i use 'input type text' that get the value from calendar picker.
> The function populateSearchInfo(); was not triggered when the value in
> the inbox was changed. Any Idea? Can anyone suggest other event? the
> following is the code example.
>
> Html:
> <div class=searchCalendar>
> <input type="text"  value="26-11-2008" class="inp date-pick dp-
> applied" name="dateTimeS" id="dateTimeS"/>
> </div>
>
> Jquery:
>
> $('form .searchCalendar input').change(function(){
>    populateSearchInfo();
>         });

Reply via email to