On the web…
I have a form with a list of items. When an item is selected (checkbox) I am writing HTML (using ajax) to a notes table (via the ID tag on the table cells HTML properties). The html contains columns with imput fields for the user to enter qty, price, etc.
When I access the table cell through document.forms[0].getElementById(“myid”) I get nothing. Only when I use document.forms[0].getElementById(“myid”).innerHTML do I get the HTML that was originally written to that ID. It is ugly byt I can parse out the html to get what I want for the “computed” columns such as the item name, but for the columns where I have an input field, anything entered into that field does not show up when I grab that ID’s innerHTML using javascript.
Any thoughts? The goal is to display a row (item, price, qty) for each item selected, when that item is selected, and without a page reload.
Any suggestions would be helpful.
Thanks!
Shean McManus