Tempus-dominus: How to Set Element Container?

Created on 12 Dec 2017  路  2Comments  路  Source: Eonasdan/tempus-dominus

Hi,
Is this plugin support set container? If it supports this when how can i set element container?

$(selector).datetimepicker({
    container:'body'
});

Thanks...

Most helpful comment

it does not work even though body has position:relative set.
I mean it's positioned absolutely incorrectly.

All 2 comments

Hi, sorry for late response, but yes somehow you can but it's need to be relative positionated.

widgetParent

On picker show, places the widget at the identifier (string) or jQuery object if the element has css position: 'relative'

it does not work even though body has position:relative set.
I mean it's positioned absolutely incorrectly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dungphanxuan picture dungphanxuan  路  3Comments

thw0rted picture thw0rted  路  5Comments

ravindrabr picture ravindrabr  路  6Comments

woohling picture woohling  路  4Comments

miraclebg picture miraclebg  路  3Comments