pass the text box value from one form to another form textbo

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
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

Post by infoitmanoj »

i need one form textbox value change, In that value pass into another form textbox in my website....
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: pass the text box value from one form to another form te

Post by requinix »

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

Post by infoitmanoj »

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>
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

Post by infoitmanoj »

requinix wrote:Okay. What code do you have?
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>
Post Reply