自動完成學期教學評量
在教學評量上任意位置按右鍵點選「檢查(Ctrl+Shift+I)」或直接按「F12」。
將下列程式碼貼到主控台(Console)中並執行。
$('input[type=checkbox]').each(function(){$(this).click();});$($('input[type=radio]').get().reverse()).each(function(){$(this).click()});$($('input[type=radio]').get().reverse()).each(function(){$(this).click()}); $('input[type=text]').each(function(){$(this).val(btoa(Math.floor(Math.random()*1000).toString()));});$($('.surveyNavBtn').get().reverse())[0].click(); |