Solved

After leaving the Inputfield data transfer to another field

Posted on 2002-04-25
5
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

732 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