如何用Javascript 获取tabcontainer中的值
我用Ajax里的tabcontainer控件做了一个tab,但是我不知道怎么用javascript获得里面的控件的值,各位帮忙!
<%@ Page Language= "C# " AutoEventWireup= "true " CodeFile= "Default2.aspx.cs " Inherits= "Default2 " %>
<%@ Register Assembly= "System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 "
Namespace= "System.Web.UI " TagPrefix= "asp " %>
<%@ Register Assembly= "AjaxControlToolkit " Namespace= "AjaxControlToolkit " TagPrefix= "cc1 " %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml " >
<head runat= "server ">
<title> Untitled Page </title>
<script language= "javascript " type= "text/javascript ">
<!--
function Radio1_onclick() {
//此处不知道如何写,我想获取textbox1的值,并给textbox2赋值
}
// -->
</script>
</head>
<body>
<form id= "form1 " runat= "server ">
<div>
<asp:ScriptManager ID= "ScriptManager1 " runat= "server ">
</asp:ScriptManager>
<cc1:TabContainer ID= "TabContainer1 " runat= "server " ActiveTabIndex= "0 " Width= "473px ">
<cc1:TabPanel ID= "TabPanel1 " runat= "server " HeaderText= "TabPanel1 ">
<ContentTemplate>
<asp:UpdatePanel ID= "UpdatePanel1 " runat= "server ">
<ContentTemplate>
<table style= "width: 465px ">
<tr>