Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

After leaving the Inputfield data transfer to another field

Posted on 2002-04-25
5
Medium Priority
?
163 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 400 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

670 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