blob: e15ee755c7a5738d445f4d7c19ce7109b66f6aa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<h1>Cashbox Account</h1>
<script>
function onSubmit() {
d = document.getElementsByName("date")[0].value
if (d.indexOf("-") > 0) {
var split = d.split("-")
var uri = location.protocol + '//' + location.host + location.pathname + "/" + split[0] + "/" + split[1]
self.location = uri;
}
}
</script>
<form>
<input type="month" name="date" />
<input type="button" value="Go" onclick="onSubmit()" />
</form>
|