I need to create a times table using javascript. The user needs to input a number in a text field and when the button his hit it generates a times table into an HTML table. In column 1 it should display the number that was entered into the text field, column 2 should display the loop 1 to 10, and column 3 should display the answer.

I know I need to use onclick, .innerHTML, and getElementById() but I am unsure how to get the results into the table. Please help! ! ! ! !