By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

Accessing values set by client script - inneHTML

P: n/a

I have a datagrid containing, say, 3 textboxes and 1 label.
When user key in values into the textbox, the average value will be
calculated in javascript and display to the label using:

document.getElementById("grid1__ctl1_lblAvg").inne rHTML = average;

When I click Update to update the row to DB, I fail to get the correct
value set using innerHTML (tried innerText but same thing). The value I
got is old value. Can you help?

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.