i want to create an applet which will call javascript function which is -
i want to retrieve the contents of variables like tax,discount and such like things
please help.
regards dansh
Code:
function printreceipt(tax,subtotal,total)
{
subtotalElem=document.getElementById("total");
var taxElem=document.getElementById("tax");
productElem=document.getElementById("product-name");
alert("here are my products" + taxElem.innerHTML + subtotalElem.innerHTML);
please help.
regards dansh
Comment