Aug 15, 2001 #1 sunila7 Technical User Apr 11, 2001 1,087 US Hi, on the lost focus event of a text box i want to fill another text box with the value that user has filled in. is it possible. thanx, sunil
Hi, on the lost focus event of a text box i want to fill another text box with the value that user has filled in. is it possible. thanx, sunil
Aug 15, 2001 #2 vasah20 Programmer Feb 16, 2001 559 US sure - do it with javascript. <script language="javascript"> function fillbox(){ document.formName.box2.value = "some value to type in"; } </script> <form name="formName" action="something.asp" method="post"> <input type="text" onblur="javascript: fillbox()" name="box1"><br> <input type="text" name="box2"><br> </form> hth leo Upvote 0 Downvote
sure - do it with javascript. <script language="javascript"> function fillbox(){ document.formName.box2.value = "some value to type in"; } </script> <form name="formName" action="something.asp" method="post"> <input type="text" onblur="javascript: fillbox()" name="box1"><br> <input type="text" name="box2"><br> </form> hth leo
Aug 16, 2001 Thread starter #3 sunila7 Technical User Apr 11, 2001 1,087 US Thanks vasah.. it works Upvote 0 Downvote