I have a listview on a page in which a user will enter the qtys per product that they wish to order. On the right side of the page, I wish to dynamically update/display the items in which they are ordering as they entering the data.
The textbox control in the Listview is calling a javascript function in the OnChange event, so far without any issues:
function CalculateCost(idofCell) {
var parts = idofCell.split("_")
var totalQty = 0
var totalCost = 0
var ProductCost = Number(document.getElementById(parts[0] + "_" + parts[1] + "_" + parts[2] + "_" + parts[3] + "_ProductCostLabel_" + parts[5]).innerHTML)
var ProductName = (document.getElementById(parts[0] + "_" + parts[1] + "_" + parts[2] + "_" + parts[3] + "_ProductNameLabel_" + parts[5]).innerHTML)
var MonQty = N ...
Go to the complete details ...