bootstrap datepicker orientation syntax for placement of the datepicker -


does know syntax setting orientation property orientation property bootstrap datepicker?

here jquery:

$(function() {     $("#dp3").datepicker({         orientation: 'top right'     }); }); 

datepicker works fine can't change orientation all, appreciated.

html looks like:

<div class="control-group">                                              <label class="control-label" for="birthday">birthday</label>     <div class="controls">         <div class="input-append date" id="dp3" data-date="12-02-2012" data-date-format="dd-mm-yyyy">             <input class="date-input-large" size="16" type="text" value="12-02-2012">             <span class="add-on"><i class="icon-calendar"></i></span>         </div>     </div> <!-- /controls -->                </div> 

bootstrap datapicker plugin support left orientation. can check original code here. however, has smartness keep in view.

all can use is:

$("#dp3").datepicker({     orientation: 'left' }); 

orientation right, top not supported.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -