pass the text box value from one form to another form textbo
Moderator: General Moderators
-
infoitmanoj
- Forum Newbie
- Posts: 3
- Joined: Tue Oct 20, 2015 11:58 pm
pass the text box value from one form to another form textbo
i need one form textbox value change, In that value pass into another form textbox in my website....
Re: pass the text box value from one form to another form te
Okay. What code do you have?
-
infoitmanoj
- Forum Newbie
- Posts: 3
- Joined: Tue Oct 20, 2015 11:58 pm
Re: pass the text box value from one form to another form te
I have tried below code .. its working fine and textbox value should be passing in same form ....but i need one textbox to be one form and another text box to be in another form value should be passed....
$(document).ready(function()
{ $("#query2").blur(function(e)
{
$("#search_head #query").val($(this).val()); }); });
<form id="search_head">
<input id="query" />
<input id="query2" placeholder="Blur me" value="Hi there" />
</form>
$(document).ready(function()
{ $("#query2").blur(function(e)
{
$("#search_head #query").val($(this).val()); }); });
<form id="search_head">
<input id="query" />
<input id="query2" placeholder="Blur me" value="Hi there" />
</form>
-
infoitmanoj
- Forum Newbie
- Posts: 3
- Joined: Tue Oct 20, 2015 11:58 pm
Re: pass the text box value from one form to another form te
I have tried below code .. its working fine and textbox value should be passing in same form ....but i need one textbox to be one form and another text box to be in another form value should be passed....requinix wrote:Okay. What code do you have?
$(document).ready(function()
{ $("#query2").blur(function(e)
{
$("#search_head #query").val($(this).val()); }); });
<form id="search_head">
<input id="query" />
<input id="query2" placeholder="Blur me" value="Hi there" />
</form>