Click to See Complete Forum and Search --> : help please - java script not working on Mac OSX


Gondwana
08-28-2003, 02:59 PM
Hi

I am new to this forum. I build web sites on Mac OSX that usually work fine on Windows as well. Now a friend of mine wrote some javascripts that work perfectly under Windows but don't work at all or partially under Mac OSX IE 5.2 or Opera 1.

Javascripts not working in MAC:

Page will not click on an object then go to another webpage using href:

<A onClick="javascript:this.document.forms.form_two.save.click();" HREF='./SendPDF.php>SEND</A>

MAC will not allow for two commands to be executed togther:

<button onclick="javascript:this.document.frames.Frame.location.href='hello.php';
this.document.location.href ='hello2.php';">

Can someone point what it wrong in these scripts? How to make them compatible on both platform? I would really appreciate some good help on this issue...

Thanks, Paul.