Hi,
we can set and get input values in javascript
Tab is nothing but div tags after rendering so it is possible
for eg.
page has two tabs like..AddCategory,ShowCategory
then if you check in view source the control id s in both tabs are like ...
"AddCategory_TextBox1_0_1" and ShowCategory_TextBox2_0_1
in javascript we write this code for assigning value in one textbox into another
document.getElementByID("AddCategory_TextBox1_0_1").Value=document.getElementByID("ShowCategory_TextBox2_0_1").Value;
or
document.getElementbyID("<%=TextBox1.ClientID%>").Value=document.getElementbyID("<%=TextBox2.ClientID%>").Value
Here we can pass ids to this method dynamically.
from server side.
if you specify your code I can explain more.
I hope you understood What I said.
Here i'm adding this code
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script language ="javascript" >
function checkb() {
$("#<%=TextBox1.ClientID %>").val($("#<%=TextBox2.ClientID %>").val());
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server">
<asp:TextBox ID="TextBox2" runat="server">
<input id="btncheck" type ="button" value ="check" onclick ="checkb()" />
</div>
</form>
</body>
</html>
All the Best