jQuery - Display the value of a textbox and input the value to another
Posted
by
user1128694
on Stack Overflow
See other posts from Stack Overflow
or by user1128694
Published on 2012-03-30T22:45:17Z
Indexed on
2012/03/30
23:29 UTC
Read the original article
Hit count: 168
jQuery
Basically I want to get the value of a textbox which is to select a date and output the value that is selected to another textbox.
These textboxes are on the same page (different steps of the same page) and the document is loaded when the page is ready on click of the next step, I've tried using:
$('#TextBox1').val($('#TextBox2').val());
But this doesn't seem to be working. What is it I am doing wrong?
© Stack Overflow or respective owner