Jak wysłać zmienne JavaScript do apletu Java
Mam funkcję JavaScript, która jest:
<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); } </code>
Jak wysłać zmienne JavaScript do apletu Java?