By archana roy


2009-09-21 04:12:03 8 Comments

I have a webpage where there is a texarea within a iframe. I need to read the value of this textarea from its child page javascript. Presently by using window.parent.getelementbyID().value in the javascript, I am able to fetch values of all controls in the parent page except the textarea within the iframe.

The frame id and frame name in my parent page changes in runtime, hence we cannot use the frame id/frame name for reference.

Related Questions

Sponsored Content

91 Answered Questions

[SOLVED] How to validate an email address in JavaScript

93 Answered Questions

[SOLVED] How do I remove a particular element from an array in JavaScript?

  • 2011-04-23 22:17:18
  • Walker
  • 6263470 View
  • 7822 Score
  • 93 Answer
  • Tags:   javascript arrays

42 Answered Questions

[SOLVED] How do I remove a property from a JavaScript object?

27 Answered Questions

[SOLVED] What does "use strict" do in JavaScript, and what is the reasoning behind it?

58 Answered Questions

[SOLVED] How do I include a JavaScript file in another JavaScript file?

56 Answered Questions

[SOLVED] How do I check if an element is hidden in jQuery?

86 Answered Questions

[SOLVED] How do JavaScript closures work?

4 Answered Questions

30 Answered Questions

[SOLVED] How to change an element's class with JavaScript?

  • 2008-10-12 20:06:43
  • Nathan Smith
  • 2511143 View
  • 2682 Score
  • 30 Answer
  • Tags:   javascript html dom

58 Answered Questions

[SOLVED] How do I redirect to another webpage?

Sponsored Content