diff --git a/ta_cola.html b/ta_cola.html index 08acd18..7c296c8 100644 --- a/ta_cola.html +++ b/ta_cola.html @@ -313,8 +313,9 @@
Cost adjustment by location
function onChange() { var country = document.getElementById('country').value var course = document.getElementById('course').value - var lead_ta = course[0] - var ta = course[1] + console.log(course); + var lead_ta = course[0]; + var ta = course[1]; theStr = (country * lead_ta) + '/' + (country * ta) + ' USD' + ' (LeadTA/TA)