If I have the following function:
function ShowInvoice() {
var FinalSummation = 0;
//for (X = 0; X < 9; X++) {
var X = document.ExceptionForm.InvoiceDate.value
if (X == "") X = 0;
X = <%Response.write InvoiceAmount%>
FinalSummation = X;
// }
document.ExceptionForm.InvoiceAmount.value = FinalSummation;
}
where InvoiceAmount is derived from the database, how do I dynamically change the InvoiceAmount as user selects different dates (option)? So far, the only thing function does is show invoiceamount based on the first date in the option field and does NOT change when the user picks a different date. Thank you, I really appreciate help
Tatyana Polevaya