read from HTML control

A

Aitham alama

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

Regards
 
E

Eliyahu Goldin

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

Eliyahu
 
M

Mariame

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?
 
E

Eliyahu Goldin

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top