View Full Version : Iframe and form question

11-09-2004, 11:23 PM
Well i havent done javascrpt for while im tryin to figure out how to so say its a iframe and i want to refresh it and fill in the form inside it *eg my name* so it submtis alot to test things how would i do this ?

11-10-2004, 06:45 AM
your inquiry sounds malicious...
could you explain a little bit more?

11-10-2004, 10:57 AM
If the iframe has a different domain than the main page, you are waisting your time. There is no way (from obvious security reasons) to acces an iframe from a different domain.

Roy Sinclair
11-10-2004, 05:23 PM
Of course if you're within the same domain then the iframe should be accessible via it's id (handleToIframe = document.getElementById('id of iframe goes here') is the usual way to get a handle to the iframe).