aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes getting iframe elements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "getting iframe elements" Watch "getting iframe elements" New topic
Author

getting iframe elements

aleah de guzman
Greenhorn

Joined: Jun 06, 2006
Posts: 15
i have 2 forms, 1 of which is an iframe. i want to get the elements of my iframe to be passed to my other form. before i was doing window.frames[0].document.all.param.value and it was working but when i changed deployed my project in another pc im getting null, im not sure if this is a dependency issue.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
document.all is very outdated

parent.frameName.formName.ElementName.value

document.getElementById("iframeId").formName.elemtnName.value

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting iframe elements
 
Similar Threads
How to refresh a iframe
How to access objects of formelements from other files?
reading CSV file
is there any alternative for iframe?
scope issues?