New Guy For Help! How can I read A value from A text box and output it in another text box? for example, if there is text box A and B, A button C, enter 1234 in text box A, and click "C, in the text box B, 1234 is displayed. is $ _ POST used for the value? & Nbsp; then define A function. when the button is clicked, C is used to read new users in A for help! How can I read a value from a text box and output it in another text box?
For example, if there is text box A and B, A button C, enter 1234 in text box A, click the button C, and then 1234 is displayed in text box B. is $ _ POST used for value? Then define A function. when the button is clicked, C reads the value in A and outputs it in B? Please help me.
------ Solution --------------------
JavaScript can achieve
------ Solution --------------------
Script
// Back (){
$ (Function (){
$ ("# Abv"). click (function (){
Var a = $ ("# a"). val ();
// Alert ();
Document. getElementById ("B"). value =;
});
});
//}
Script
------ Solution --------------------
Do you have a local jquery. js file?
------ Solution --------------------
GetElementById and other functions.
In simple cases, jquery does not need to be used.