jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput combine with input, not div

This topic contains 1 reply, has 2 voices, and was last updated by  Vladimir 9 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • combine with input, not div #77226

    yuanru
    Participant

    Hi,

    Is it possible to use datetimeinput with <input>, not <div>, like jquery-ui datepicker and bootstrap-datepicker?

    Because the form validation plugin and some css style are combined with <form> and <input>.

    If the widget can be used it with <input>, like $(“input[name=birth]“).jqxDateTimeInput({ width: ’300px’, height: ’25px’ }); it would be much more convenient.

    Thanks!

    combine with input, not div #77228

    Vladimir
    Participant

    Hello yuanru,

    Unfortunately the jqxDateTimeInput can not be initilized from an <input> tag. However the jqxValidator plugin works with jqxDateTimeInput so you shouldn’t have issues with it as shown in the validator demo page.

    Best Regards,
    Vladimir

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.