Explore BrainMass

Explore BrainMass

    JavaScript to create an Amortization calculator.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Write a function that prints a loan amortization table (principal, interest rate, and number of months) are provided via form elements. The principal amount and interest rate should be entered through a text box. However, the number of months should be entered through a drop down list containing the values 12, 24, 36, 48, and 60. A button to perform the calculation should be created, and the inputs should be grouped in a field set. When the button is pressed, a HTML <div> element should be updated to hold the table.

    Please see attachment for full question.

    © BrainMass Inc. brainmass.com October 10, 2019, 4:58 am ad1c9bdddf


    Solution Summary

    This solution contains an attachment with javascript code to create an amortization calculator. A form is created to enter the Loan Amount, an Interest Rate and number of months for payoff and when the user click on the calculate button, it performs the operation to create an amortization table based on the entered data. The final table contains the Balance, Interest and Principal Amount of each month(as selected by the user).