I have a bunch of fields that are calculated onblur and the total is kept track of and submitted to the database using a hidden input. The calculated value currently looks like this:
<tr><td><input id=1 value=100 onBlur=runrecalculate></input></td></tr>
<tr><td><input id=2 value=200 onBlur=runrecalculate></input></td></tr>
<tr><td><input id=3 value=300 onBlur=runrecalculate></input></td></tr>
<tr><td class="classtext"><input id=inputSum value=number type=hidden/> 600</td></tr>
The inputSum needs to change the "text" of the td with the class classtext...but, I don't know how to access the text in the cell..Is it better to change the hidden input to a textbox, or to use a label...the problem is, the value isnot changing, I think each browser is handling this differently and I don't know why...would it be better to just use a textbox or a label, if so, please send code...HELP PLEASE:)
BTW, this is not my code...it was there already and I need to make it work...