hyde11
06-27-2003, 06:27 AM
I am trying to click on a button to open a window, and then submit the originating form. Can't get it to work. Help please.....thanks.
Here is the code:
<script type="text/javascript">
<!--
function openHabitat()
{
window.name="MainWindow";
document.report.action = window.open("../../template/tem_habitat2.cfm");
document.report.submit();
}
-->
</script>
Here is the code:
<script type="text/javascript">
<!--
function openHabitat()
{
window.name="MainWindow";
document.report.action = window.open("../../template/tem_habitat2.cfm");
document.report.submit();
}
-->
</script>