mirror date picker selection

mirror date picker selection

For some reason every method that i've tried doesn't get whatever the updated "value" is after you make a date selection. If you use keyup or mouseleave or blur it doesn't want to "mirror" like any other input type does unless you put the mouse back over the date picker. I'm using the following js on the other inputs and it does work for them:

  1. $("#datePicker").keyup(function()
    {
    var datePicker=$(this).val();
    $(".addatePicker").html(datePicker);
    return false;
    });




  2. // and then the following to display:
    <div id="datePicker_text" class="addatePicker"></div>

Is there a method to constantly or incrementally check to see what the input value is. Is there a better method you can suggest? Am I just being a total newb? Thanks.