Skip to content

Instantly share code, notes, and snippets.

@xianxingg
Last active September 21, 2016 08:05
Show Gist options
  • Select an option

  • Save xianxingg/1aa431772267e435065b96c60b053510 to your computer and use it in GitHub Desktop.

Select an option

Save xianxingg/1aa431772267e435065b96c60b053510 to your computer and use it in GitHub Desktop.
ps select many. use Inspect to get input id, like TZ_SUB_ACT_DWK_TZ_SELECT1$***. Alternatives are the range of i and 'TZ_SUB_ACT_DWK_TZ_SELECT1$'
for (var i = 21; i <= 69; i ++) document.getElementById("ptifrmtgtframe").contentWindow.document.getElementById("TZ_SUB_ACT_DWK_TZ_SELECT1$" + i).click()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment