Solved

After leaving the Inputfield data transfer to another field

Posted on 2002-04-25
5
156 Views
Last Modified: 2010-04-09
Is it possible?

I want to get a data in intput field(a) entred in another inputfield(b) after adding data and leaving inputfield(b).

If it is possible please let me know. (Urgent!!!).

 
0
Comment
Question by:Bhatti
  • 3
  • 2
5 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6968226
You mean something like this:

<form name="myform">
<input type="text" name="fldA">
<input type="test" name="fldB" onBlur="this.value+=document.myform.fldA.value">
</form>

If not, A bit more detailed description would help.

Cd&
0
 
LVL 4

Author Comment

by:Bhatti
ID: 6968453
Just small modification.

When I leave the field where I wrote some data, can we get the same data in another field.

In your example it is possible but first we leave the field and go to the other field and back to the first field to click, then It write the same data.
Or when I write some thing (in other field where I want my data from first field) and leave the field then write also.

I want if it is possible:

I write a data in field1 and leave the field. (When I leave the field can we get the written data in another field say field2.

0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 100 total points
ID: 6968558
Do you mean like this:
<form name="myform">
<input type="text" name="fldA" onBlur="document.myform.fldB.value=this.value">
<input type="test" name="fldB">
</form>

Cd&
0
 
LVL 4

Author Comment

by:Bhatti
ID: 6968643
Thanks: That what I was looking for.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6968705
Glad I could help. Thanks for the A. :^)

Cd&
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now