wanting total to be in the hidden table, does not work

H

Help !!

I have a total box that is in view while the order is being made and want
this total to be inserted into the printout page which is stored in a hidden
table page.

I have tried to use the <div> method but it seems that this line is not
correct as the next line which is the last line in the script does not
execute.

parent.hiddenprinttotal.document.getElementById('theTotal2').innerHTML =
adddecimal(ctotal/100);

there is a similar line that does execute which updates the total box in the
main page...
parent.totalcostcell.document.getElementById('theTotal').innerHTML =
adddecimal(ctotal/100);
this line works

all the tables have id's and all are viewed when the index.htm file is
viewed.


any ideas what I am doing wrong?

thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top