I have modified the formto so that it calculates an employees potential bonus for the year. This works ok however I want to show a break down of the values used below.. i.e getsalary()
var salary = getsalary();
var salary2 = document.getElementById('dsalary');
salary2.innerHTML = salary;
and the following html -
<center><table border="1" WIDTH="330" class="header1">
<td id="dsalary"><center>Your Salary</center>
This should display the salary that has been entered in the form. However it just remains blank.