From d02d640b2ca6fc97d6c6aeb03772b2b2ad2a5918 Mon Sep 17 00:00:00 2001 From: Twilight Date: Tue, 11 Jun 2024 14:44:31 +0800 Subject: [PATCH] =?UTF-8?q?Update=20file=20=E6=B5=8B=E8=AF=84.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 测评.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 测评.js diff --git a/测评.js b/测评.js new file mode 100644 index 0000000..b63b662 --- /dev/null +++ b/测评.js @@ -0,0 +1,13 @@ +var max = 19; +for (i = 0; i <= max; i++) { + var _this_radio = document.querySelector("#sel_score" + i) + if (_this_radio == undefined) {continue} + var _current = 0 + if (i == 19) {_current = 1} + + var _this_input = document.querySelectorAll("#sel_score" + i + " input[type=radio]")[_current] + + _this_input.click(); +} + +document.querySelector('input[Name=Submit]').click(); \ No newline at end of file