Skip to content

Instantly share code, notes, and snippets.

@EgehanGundogdu
Created June 18, 2021 10:52
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save EgehanGundogdu/a4d836f956f15de0f162d40c8fef0e95 to your computer and use it in GitHub Desktop.
sakarya universitesi degerlendirme
(() => {
for (let i = 1; i <= 30; i++) {
let radioClassName = `S${i}`
if (radioClassName === "S29" || radioClassName === "S30") {
$(`input:radio[name=${radioClassName}]`).last().prop('checked', true)
}
else {
$(`input:radio[name=${radioClassName}]`).first().prop('checked', true)
}
}
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment