How to put value in asp.net textbox from javascript?

  • Thread starter Thread starter Eph0nk
  • Start date Start date
E

Eph0nk

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 :/
 
javascript be case sensitive, but you probably know that :-)

formname.TetBox ID.value = any value
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top