Hi All,

I am having a problem with a javascript function in ColdFusion.  Works fine
under IE, but not Netscape.

You enter a record ID in a form field and click the lookup button, which
loads a page which amongst other things, contains the below code.  Once the
query finds the correct details the code inserts the found records onto the
parent form.  FIne in IE, Netscape just ignores it.

As follows :

<body onFocus="updateinfo()">

<script language="JavaScript">
function updateinfo()
        {
        window.focus;
        var name = "Mr" + " " + "Mark" + " " + "Picker";
          
          window.opener.StudentResults.Name1.value = name;
          window.opener.StudentResults.AddressOne1.value = "'TestSite'";
                
                ...... etc ..........          

          window.close()
        }
</script>

Details are filled in with ColdFusion scripts.

It appears that netscape isn't even looking at the function.

Hope you can help.

Cheers
Mark

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to