strange behavior with embedded datepicker disappearing on click.
here's the code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap: The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>datepicker test</title>
<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="
http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="
http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- date picker -->
<link href="css/bootstrap-datepicker.min.css" rel="stylesheet">
</head>
<body>
<div id="start-date-picker"></div>
<div id="end-date-picker"></div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="
https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="
http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- date picker -->
<script src="js/bootstrap-datepicker.min.js"></script>
<script>
$(function() {
$('#start-date-picker').datepicker();
$('#end-date-picker').datepicker();
});
</script>
</body>
</html>