I have this HTML tag:
<span id="pricea" runat="server">13323223</span> and I am changing this value with JavaScript:
<script type="text/javascript">
$(function () {
$("#pricea").hover(function () {
document.getElementById("pricea").innerHTML = "1234"
});
});
</script>
Now,when I do postback after clicking asp:Button, the span value returns to be the original value and I can't take the new value that was changed by the JavaScript.
I thought maybe use request.form("pricea"), but it seem to be working only for input fields, so my question is:
how can I get the value of this span (after it was change by the JavaScript) in server side?
thanks for any help