Skip to content

Instantly share code, notes, and snippets.

@CFFQuocHuy-zz
Forked from gys-dev/husc auto complete script
Created December 10, 2019 14:19
Show Gist options
  • Select an option

  • Save CFFQuocHuy-zz/75ed2c548613c8fd4c995d2f9b84cb67 to your computer and use it in GitHub Desktop.

Select an option

Save CFFQuocHuy-zz/75ed2c548613c8fd4c995d2f9b84cb67 to your computer and use it in GitHub Desktop.
javascript: $( document ).ready(function() { var step = 4; var chosse = 3; var ele = $('.col-sm-3 label input'); setTimeout(function(){ for(var i = 0; i < ele.length; i++){ var shit = ele[(chosse -1) + step*i]; shit.click(); } },1000); setTimeout(function(){ var text = $('textarea'); text[0].value = "Dạy dễ hiểu- trực quan"; text[1].value = "Được thực hành nhiều hơn"; },2000); setTimeout(function(){ var btn = $('#btnSubmitAnswers'); btn.click(); },3000); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment