For all the pros here: What is the javascript for copying information?

Discussion in 'JavaScript' started by anaid54, Aug 16, 2010.

  1. #1
    Hi guys! i would like to ask for your assistance.. i am creating two template for my work.. and i would like to know what is the javascript that in one click i can copy and paste all the details from template #1 to template #2. considering that each field in template 1 will fall into the correct field in template #2..

    http://img130.imageshack.us/i/25157983.jpg/

    hope to hear from you soon. thanks! you may also email me at janshawn_54@yahoo.com
     
    anaid54, Aug 16, 2010 IP
  2. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #2
    This is not possible with javascript alone because you are trying to pass information from this page to the other; you'll need a server-side method for that such as PHP+session or cookies.

    But it is possible if both template are in the same page - using frames.
     
    Rainulf, Aug 16, 2010 IP