Skip to content

Instantly share code, notes, and snippets.

@EgehanGundogdu
Created June 18, 2021 10:52
Show Gist options
  • Select an option

  • Save EgehanGundogdu/a4d836f956f15de0f162d40c8fef0e95 to your computer and use it in GitHub Desktop.

Select an option

Save EgehanGundogdu/a4d836f956f15de0f162d40c8fef0e95 to your computer and use it in GitHub Desktop.

Revisions

  1. EgehanGundogdu created this gist Jun 18, 2021.
    13 changes: 13 additions & 0 deletions degerlendir.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    (() => {
    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)

    }
    }

    })()