This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=_12496EA9.264726AE
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello all,
I am trying to post a result from a pick list to both browsers. This
posts instantly in IE but will not post to Netscape until the page is
refreshed. I have tried many approaches, and ideas? The function is:
function postresultandclose(selection, description) {
if (window.opener)
{
// !add code to check if the window we are posting to is still
available!
// if ( window.opener.closed )
// window.alert("Parent is no longer open!");
// else
window.opener.document.<cfoutput>#attributes.field#</cfoutput>.value
=3D selection;
<cfif isdefined("attributes.desc") and attributes.desc IS NOT "">
if (navigator.appName =3D=3D "Netscape")
{ // don't update the descriptions if Navigator is being used -
not working yet //
}
else
{
window.opener.document.<cfoutput>#attributes.desc#</cfoutput>.inn
erText =3D description;
}
</cfif>
}
else
{
window.alert("This window doesn't know who opened it");
}
window.close();
}
The calling code is:
<td colspan=3D"100%" align=3D"left" class=3D"iwud"><cfoutput>
<a href=3D'javascript:postresultandclose("#RefList.OutGrpIref1GenericCod
eCode(i)#","#RefList.OutGrpIref1GenericCodeName(i)#")'>#RefList.OutGrpIref1
GenericCodeName(i)#</a></cfoutput>
</td>
V/R
Bill Gunnell
Cold Fusion Design Consultant
Computer Consulting International
(xxx) xxx-xxxx
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to javascript as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-javascript-$subst('Recip.MemberIDChar')@p2p.wrox.com