jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput bind date not work

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 9 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • bind date not work #78931

    melvin
    Participant

    hi, is this code something wrong, it doesn’t pass the date into input box ?!

    $(“#attdate”).jqxDateTimeInput({ formatString: “yyyy-MM-dd”, width: ‘110px’ });
    $(“#attdate”).bind(‘valuechanged’, function (event) {
    $(‘#attdate_val’).val(event.args.date);
    });

    thanks,

    bind date not work #78932

    melvin
    Participant

    hi, I use $(“#attdate”).change(function() { instead, and it is ok now.

    Then, it still cant use serialize() to fetch the data inside the form, why ?!

    <form id’att’>
    <div id=’attdate’></div><input type=hidden id=’attdate_val’ value=”>
    </form>

    bind date not work #78970

    Peter Stoev
    Keymaster

    Hi melvin,

    See: http://jsfiddle.net/jqwidgets/L9wwf/ to learn how to use the valueChanged event.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.