mirror of
https://github.com/seigler/govobject-proposal
synced 2025-07-27 06:46:10 +00:00
jquery ui date picker
This commit is contained in:
parent
2e100f14f7
commit
78ee5e02f4
1 changed files with 8 additions and 0 deletions
|
@ -4,7 +4,10 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>govobject-proposal</title>
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/smoothness/jquery-ui.css">
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.1.0.js" integrity="sha256-slogkvB1K3VOkzAI8QITxV3VzpOnkeNVsKvtkYLMjfk=" crossorigin="anonymous"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
<script src="https://dev-test.dash.org:3001/socket.io/socket.io.js"></script>
|
||||
<script src="bitcore-lib-dash.js"></script>
|
||||
|
@ -29,6 +32,11 @@
|
|||
|
||||
$(document).ready(function() {
|
||||
|
||||
var opts = { dateFormat: "@" }; // unix date format
|
||||
|
||||
$('#start_epoch').datepicker(opts);
|
||||
$('#end_epoch').datepicker(opts);
|
||||
|
||||
$('#formSubmit').click(function() {
|
||||
|
||||
var gov = new Bitcore.GovObject.Proposal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue