javascript - Is it posible to pick a date or put text on one input and automatic should apear on other one too -
this form1
<form name="form1" method="post" action="#"> <input id="date_input_2" type="text" name="emp_item_hawala_date" /> <input type="submit" value="search"> </form>
this form2 want text input automatic form1 when ever enter text input (emp_item_hawala_date) form1 same input of form2 should take it's text too.
<form name="form2" method="post" action="#"> <input id="date_input_1" type="text" name="emp_item_hawala_date" /> <input type="submit" value="print"> </form>
here on form1 want put selectively or input direct should apear on second form input automatic.
is possible?
regards
in form1, following:
<input id="date_input_2" type="text" name="emp_item_hawala_date" onblur=(document.getelementbyid('date_input_1').value=this.value) />
Comments
Post a Comment