diff options
Diffstat (limited to 'qc_app/static/js')
-rw-r--r-- | qc_app/static/js/select_platform.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qc_app/static/js/select_platform.js b/qc_app/static/js/select_platform.js index d7541fa..d78877e 100644 --- a/qc_app/static/js/select_platform.js +++ b/qc_app/static/js/select_platform.js @@ -57,3 +57,14 @@ function update_genechips(event) { setup_genechips(genec[species_elt.value.toLowerCase()]); } } + +function select_row_radio(row) { + radio = row.getElementsByTagName( + "td")[0].getElementsByTagName( + "input")[0]; + if(radio === undefined) { + return false; + } + radio.setAttribute("checked", "checked"); + return true; +} |