read from HTML control

  • Thread starter Thread starter Aitham alama
  • Start date Start date
A

Aitham alama

How can I read a value from a html text box and pass it into a web textbox
control?

Regards
 
In client-side javascript. You should know the ids of both textboxes.

Eliyahu
 
i know the ID of the client side control(textfield) and the ID of the server
side control(textbox),

So how can i pass the value from the client side control to the server side
textbox control?
 
The javascript statement is simple. Assuming the client control id is
clientId and the server one is serverId, the statement is serverId.value =
clientId.value.

You will need to setup a client-side event to run this code.

Eliyahu
 

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