camerch
09-22-2004, 06:34 AM
Is it possible to pass variables to a input field in a form that is in an IFrame window?
I've tried:
<div class="panel" id="PPpanel" align="center" style="display: none;">
<iframe align="middle" frameborder="0" id="PPpanelIframe" name="PPpanelIframe" scrolling="auto" src="http://www.attwireless.com/ocs" title="Window" width="100%" height="300"></iframe>
</div>
javascript: PPpanelIframe.LoginForm.min.value="attwireless";
<div class="panel" id="PPpanel" align="center" style="display: none;">
<iframe align="middle" frameborder="0" id="PPpanelIframe" name="PPpanelIframe" scrolling="auto" src="http://www.attwireless.com/ocs" title="Window" width="100%" height="300"></iframe>
</div>
var iframe = document.getElementById('PPpanelIframe');
var minUser = iframe.document.getElementById('WirelessNo');
var minPass = iframe.document.getElementById('Password');
Please if any can help I appreciate it greatly!
I've tried:
<div class="panel" id="PPpanel" align="center" style="display: none;">
<iframe align="middle" frameborder="0" id="PPpanelIframe" name="PPpanelIframe" scrolling="auto" src="http://www.attwireless.com/ocs" title="Window" width="100%" height="300"></iframe>
</div>
javascript: PPpanelIframe.LoginForm.min.value="attwireless";
<div class="panel" id="PPpanel" align="center" style="display: none;">
<iframe align="middle" frameborder="0" id="PPpanelIframe" name="PPpanelIframe" scrolling="auto" src="http://www.attwireless.com/ocs" title="Window" width="100%" height="300"></iframe>
</div>
var iframe = document.getElementById('PPpanelIframe');
var minUser = iframe.document.getElementById('WirelessNo');
var minPass = iframe.document.getElementById('Password');
Please if any can help I appreciate it greatly!