Re: Javascript fix on website.
| From: | Curt Zirzow | Date: | Mon, 13 Oct 2003 23:32:29 +0000 |
| Subject: | Re: Javascript fix on website. | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-21496@lists.php.net to get a copy of this message | ||
* Thus wrote Gabor Hojtsy (gabor@hojtsy.hu):
> >It seems that Opera 7.11 has some bugs using the javascript 'with'
> >statement, and all pages requested on the website cause undefined
> >object errors on line 71.
> >
> >Attached is a fix for this. Basically I removed the 'with' statment
> >and just accessed the object in its full, in theory this should be
> >compatible with all browsers. I havn't been able to test it in
> >context of the site.
>
> Have you tested this with Opera, and seen that it works?
yes, Also tested with ns6 and ie6.
> BTW quite odd, that Opera does not support with(){} properly,
> though it
> is a core ECMAScript construct...
I cant find anything official but it seems to only effect the
'select' form object.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."