Created
February 6, 2017 05:39
-
-
Save xunlao/d30493c1eabc3ab57ba74b1a441c5fac to your computer and use it in GitHub Desktop.
gtimereport_form_filler.js
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
javascript:(function () { | |
var date = new Date(); | |
var todayStr = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate(); | |
$("#PeriodStart").val(todayStr); | |
$("#PeriodEnd").val(todayStr); | |
/* The items to choose */ | |
$("input")[3].checked = 'checked'; | |
$("input")[4].checked = 'checked'; | |
$("input")[5].checked = 'checked'; | |
$("#ShowSummary")[0].checked = 'checked'; | |
$('.button.ui-button')[1].click() | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment