I am storing the data in a variable and passing that to the txt_val attribute, stored as 'tooltip'. I want to access this in my c# code, how can I do it?
function closediv(val1, txt_val, grp) {
var data = val1.split("!~!");
var value1 = data[0];
$("#" + txt_val).attr('tooltip', value1);
}
I know it can be done using a hidden field, but this value is checked for multiple textbox controls, so if I use a hidden field control, I would need to use one hidden field for each textbox, that would result in a lot of repeated code. Is there a better way I can do it? Thank you
txt_valback to server, right? If yes you can send all of them at once. An example for form posting is usingformelement:<form method="post" action="test">txt_val, but can you let me know how to do this? I already have<form method="post" action="test">in my code