Skip to content

Commit

Permalink
Update ta_cola.html
Browse files Browse the repository at this point in the history
  • Loading branch information
iamzoltan authored Feb 8, 2024
1 parent f6b31c9 commit a139862
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions ta_cola.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,19 @@ <h5 class="card-header">Cost adjustment by location</h5>

var select3 = document.querySelector(".js-Selector3"); //.innerHTML = "";
var opt = document.createElement('option');
opt.value = 890;
opt.value = [2250, 1715];
opt.text = 'Deep Learning';
select3.add(opt);
var opt = document.createElement('option');
opt.value = 890;
opt.value = [2250, 1715];
opt.text = 'Computational Neuroscience';
select3.add(opt);
var opt = document.createElement('option');
opt.value = 600;
opt.value = [1500, 1143];
opt.text = 'Computational Tools for Climate Science';
select3.add(opt);
var opt = document.createElement('option');
opt.value = [1500, 1143];
opt.text = 'Computational Tools for Climate Science';
select3.add(opt);

Expand All @@ -309,8 +313,10 @@ <h5 class="card-header">Cost adjustment by location</h5>
function onChange() {
var country = document.getElementById('country').value
var course = document.getElementById('course').value
var lead_ta = course[0]
var ta = course[2]

theStr = (country * course) + ' USD'
theStr = (country * lead_ta) + '/' + (country * ta) + ' USD' + ' (LeadTA/TA)

document.getElementById('costs').innerHTML = theStr;
}
Expand Down

0 comments on commit a139862

Please sign in to comment.