Hi,
I’ve just started writing JavaScript so this is a newbie question. I have a form where user enters a bunch of numbers i.e. shipping charge, sales tax, etc.
I want to total them up and display them at the bottom of the form. I know how to add them up but what I need help with is displaying the total. I don’t want to display the total in an input box which seems to be a common way to do this. I’d rather display it on the page at a specific location. How do I do this? In other words, how do I specify where to display my total? I assume I’ll be using document.write(MyTotal) but not sure how to specify its location.
Thanks for your help.
Sam