Created
September 9, 2014 17:31
-
-
Save aaizemberg/796bd6918ced682ed669 to your computer and use it in GitHub Desktop.
seleccionando desde un date picker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<meta charset="utf-8"> | |
<title>pirulo</title> | |
</head> | |
<body> | |
<input id="bday" type="date" name="bday"> | |
<button onclick="doit()">OK</button> | |
<img src=""> | |
<script> | |
function doit() { | |
var yyyymmdd = bday.value; | |
d3.select("body").append("p").text(bday.value); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment