[Javascript] detecting a frame with a field

Terry Riegel riegel at clearimageonline.com
Thu Oct 14 16:41:19 CDT 2004


Hello All,

I have set up a 2 frame page. The left frame is fully under my control, 
the right frame is not.

+--+------+
|  |      |
|  |      |
|  |      |
+--+------+

I want the left frame to watch the right frame until it contains a form 
with a text field named CO_USERNAME

The Right frame (I can't control its contents) will look like below.
<body>
<form method=post action=http://www.page.com>
...
<input type=text name=CO_USERNAME size=30 maxlength=30 value="Visitor5">
...
</form>
</body>

When the left frame sees a text field labeled CO_USERNAME it will 
trigger a page load.


Can this be done?

Terry




More information about the Javascript mailing list