Solved

After leaving the Inputfield data transfer to another field

Posted on 2002-04-25
5
162 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

628 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