PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu May 24, 2018 8:44 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Oct 21, 2015 12:02 am 
Offline
Forum Newbie

Joined: Tue Oct 20, 2015 11:58 pm
Posts: 3
i need one form textbox value change, In that value pass into another form textbox in my website....


Top
 Profile  
 
PostPosted: Wed Oct 21, 2015 12:45 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
Okay. What code do you have?


Top
 Profile  
 
PostPosted: Wed Oct 21, 2015 1:25 am 
Offline
Forum Newbie

Joined: Tue Oct 20, 2015 11:58 pm
Posts: 3
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>


Top
 Profile  
 
PostPosted: Wed Oct 21, 2015 2:13 am 
Offline
Forum Newbie

Joined: Tue Oct 20, 2015 11:58 pm
Posts: 3
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>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group