FineUI 官方论坛
标题:
js获取 控件ID
[打印本页]
作者:
xiayj
时间:
2012-11-26 11:03
标题:
js获取 控件ID
<ext:SimpleForm ID="SimpleForm1" runat="server" BodyPadding="1px" EnableBackgroundColor="false"
Title="SimpleForm" ShowBorder="false" ShowHeader="false" LabelWidth="40" >
<Items>
<ext:TextBox ID="TextBox1" runat="server" Label="编号" Text="" Width="125px"></ext:TextBox>
<ext:TextBox ID="TextBox2" runat="server" Label="长" Text="" Width="125px"></ext:TextBox>
<ext:TextBox ID="TextBox3" runat="server" Label="宽" Text="" Width="125px"></ext:TextBox>
<ext:TextBox ID="TextBox4" runat="server" Label="面积" Text="" Width="125px"></ext:TextBox>
<ext:TextArea ID="txtpiont" runat="server" Width="125px" Label="坐标"> </ext:TextArea>
<ext:HiddenField ID="HiddenField1" runat="server">
</ext:HiddenField>
<ext
anel ID="
anel1" runat="server" BodyPadding="5px" EnableBackgroundColor="false"
ShowBorder="false" ShowHeader="false" Title="
anel" Layout="Column" Width="200px">
<Items>
</Items>
</ext
anel>
</Items>
</ext:SimpleForm>
</Items>
</ext:GroupPanel>
document.getElementById("HiddenField1").value 获取不到值
作者:
xiayj
时间:
2012-11-26 11:04
去掉 ext:SimpleForm 就能得到
作者:
一個人の旋律
时间:
2012-11-26 11:17
哎 哥也帮不了你,抢沙发
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4