accessing functions from iframes
Could anyone help me out with the syntax to use a function that is contained within an iframe from the main frameset.
and abt a billion variations of that but with no luck.
Please can anyone help?!?
Not sure if I understand you but you can do something like this to access functions in an iframe:
IFRAME_ID I think can be either the iframe's ID, NAME or index (no need for the quotes in this case).
still not working
I've tried that syntax as below:
but just get the error message "document.frames has no properties".
What does this mean and why?
Have you got this page online? If not can you upload it and give us the URI, it will be quicker and easier that way to find the error.
can i accessing all iframes used in my page by index only not by their ids . ?
Originally Posted by Rick Bull
It's window.frames, not document.frames.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)