Ask a Question related to ASP.NET General, Design and Development.
-
Eph0nk #1
How to put value in asp.net textbox from javascript?
Hi,
I don't know a lot about javascript - and i'm stuck on a certain problem. I
need to put a value in an <asp:textbox> control from a javascript.
The textbox is called "txtThumb" - and the name stays the same once rendered
to html.
I've tried txtthumb.text & txtthumb.value, but both do nothing.
I'm sure it must be quite simple :/
---
Tim De Vogel
S-Data NV
Eph0nk Guest
-
Client-Side Validation of asp:TextBox with Javascript
Hi - I'm trying to do client-side validation of the text in a Asp.Net textbox control using javascript. My page has the following: <form... -
Referencing a TextBox control in Javascript from DataList ItemTemplate
I have a calendar control which pops up as a new window when i click on my textbox. The calendar control returns a Javascript function whereby... -
DatGrid TemplateColumn TextBox JavaScript ClientSide Validation?
Hi, I am using 2 TemplateColumn TextBoxs in my Grid. On the Submit button click event I want to do the validation on the client side. In the... -
Accessing Textbox inside a Template column using javascript
Hi, I am having a datagrid with a template column. Inside the template column I have a textbox and an image button. On click of the image button, I... -
VERY STRANGE BUG? Adding a textbox control causes other textbox control to fail???
I've had this happen a few times too. I'm still not positive of what exactly causes it but all that's happening is the control that no longer... -
Jason #2
Re: How to put value in asp.net textbox from javascript?
javascript be case sensitive, but you probably know that :-)
formname.TetBox ID.value = any value
"Rohit" <sahnirohit@hotmail.com> wrote in message
news:ephkhSAXDHA.2360@TK2MSFTNGP12.phx.gbl...> Hi,
> You can either do it using
> formname.TetBox ID.Value = any value
> OR
> document.getElementById(TextBox ID).value = any value
>
> regards,
> Rohit,
>
>
Jason Guest
-
Eph0nk #3
Re: How to put value in asp.net textbox from javascript?
Yeah, i knew that.
Thanks for the help..Works perfectly.
--
---
Tim De Vogel
S-Data NV
"Jason" <c_bananas@mighty.co.za> schreef in bericht
news:uHoNBfAXDHA.1280@tk2msftngp13.phx.gbl...> javascript be case sensitive, but you probably know that :-)
>
> formname.TetBox ID.value = any value
>
> "Rohit" <sahnirohit@hotmail.com> wrote in message
> news:ephkhSAXDHA.2360@TK2MSFTNGP12.phx.gbl...>> > Hi,
> > You can either do it using
> > formname.TetBox ID.Value = any value
> > OR
> > document.getElementById(TextBox ID).value = any value
> >
> > regards,
> > Rohit,
> >
> >
>Eph0nk Guest



Reply With Quote

