Re: asp.net HiddenField ClientId
- From: "imbirek8" <imbirek8@xxxxx>
- Date: Mon, 27 Oct 2008 22:31:55 +0100
"Alberto Poblacion" <earthling-quitaestoparacontestar@xxxxxxxxxxxxx> wrote in message news:eO7p3IAOJHA.1668@xxxxxxxxxxxxxxxxxxxxxxx
[...]
I do not understand anything. I have the simpliest code I can have and it doesn't work. I can't see even alert.. in firebug I don't have any error.
Why it doesn't work ?
<body>
<script type="text/javascript">
function click()
{
alert('here1');
(document.getElementById('<%=this.txtSelectedRow.ClientID%>')).Text = "bbb";
}
</script>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="txtSelectedRow" runat="server" ></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="click()" />
</div>
</form>
</body>
Thanks for help
.
- Follow-Ups:
- Re: asp.net HiddenField ClientId
- From: Alberto Poblacion
- Re: asp.net HiddenField ClientId
- References:
- asp.net HiddenField ClientId
- From: imbirek8
- Re: asp.net HiddenField ClientId
- From: Alberto Poblacion
- Re: asp.net HiddenField ClientId
- From: imbirek8
- Re: asp.net HiddenField ClientId
- From: Alberto Poblacion
- Re: asp.net HiddenField ClientId
- From: imbirek8
- Re: asp.net HiddenField ClientId
- From: Alberto Poblacion
- asp.net HiddenField ClientId
- Prev by Date: RTF Render with Scale
- Next by Date: Re: Quick way to find index i in an array[i] = someValue using Linq?
- Previous by thread: Re: asp.net HiddenField ClientId
- Next by thread: Re: asp.net HiddenField ClientId
- Index(es):