Setting label control text property in gridview on client side using javascript
<pre><code>        function ValidateText(i) {
            if (i.value.length &gt; 0) {
                i.value = i.value.replace(/[^\d]+/g, '');
                var yourBoundColumnValue = i.parentNode.previousSibling.childNodes[0].nodeValue;
                var total = 0;            
                var tot = document.getElementById('&lt;%=lblBalQty.clientId %&gt;').innerHTML
                alert(Number(tot));
                tot.innerHTML = i.value;
                tot.innerHTML = yourBoundColumnValue - i.value;
            }
        }
</code></pre>
