• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

inter frame communication

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

can two frames(frame1.html and frame2.html) part of the same frameset ( frameset.html) communicate with each other ?

I want to be able to click on submit button of left frame(frame1.html) and set a variable in right frame (frame2.html) and submit the form on frame2.html.

above functionality is feasible ?

I could set a HTML variable on frame2 when button is hit on frame1 but just HTML varialbe values are changing. I could not do any javascript events like "onchange" and others for these values change.

Please advise.
Thanks
Anand
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The base is:
parent.frameName

parent.frameName.variableName = "123";
parent.frmaeName.forms[0].elementName.value = "123";
parent.frmaeName.forms[0].submit();


Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic