This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > OnClick - IE vs. Mozilla?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author OnClick - IE vs. Mozilla?
Karl

2005-09-14, 7:33 pm

Can anyone tell me why the following works in IE but not in Mozilla?

<form>
<input TYPE="button" VALUE="Add To Order"
onClick="opener.BK10.submit();closeWin('2000')">
</form>

This is contained in a popup. The first part submits a form in the parent.
The second part is Al's WinTimer to close the popup 2 seconds later. Works
fine in IE. Does neither part in Mozilla. Help?
Karl

2005-09-14, 7:33 pm

Nevermind. It was the way in whicvh the form was being submitted.

This works:

<input TYPE="button" VALUE="Add To Order"
onClick="window.opener.document.forms.BK10.submit();closeWin('2000')">
</form>

karl@csu.eduNOSPAM.co (Karl) wrote in
<96D16E9D2karlcsueduco@216.104.212.96>:

>Can anyone tell me why the following works in IE but not in Mozilla?
>
> <form>
> <input TYPE="button" VALUE="Add To Order"
>onClick="opener.BK10.submit();closeWin('2000')">
> </form>
>
>This is contained in a popup. The first part submits a form in the
>parent. The second part is Al's WinTimer to close the popup 2 seconds
>later. Works fine in IE. Does neither part in Mozilla. Help?


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews