[Javascript] SAFARI javascript major problem
Troy III Ajnej
trojani2000 at hotmail.com
Thu Jul 10 16:09:31 CDT 2008
> This is just a complete shot in the dark ...
Yeah, whenever I do that I end up with a dead Elefant on
myhands!
It is not that wize to shot in the dark in Safari. :)
That code is not only "classic" it's allso a bulletprof code, & it's
not mine. I took it from references. I have to point out another
fact that mail parser is doing something wrong with my content
and removing newlilne codes from it very inconsistently. So that
function and some other lines got merged into one.
The code in disscussion works in IE javascript 1.3; it works in FX
js 1.5; in Opera js 2.0; -but not in Safari js 1.5!
I'm begining to think that there is something else in stake, Safari
will drop every other correct code contents as soon as one single
error is encountered, but this is another shot in the dark I guess.
:D
Thank you.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troy III
progressive art enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Date: Thu, 10 Jul 2008 07:40:18 -0400> From: gregorinator at gmail.com> To: javascript at lists.evolt.org> Subject: Re: [Javascript] SAFARI javascript major problem> > On Wed, Jul 9, 2008 at 11:17 PM, Troy III Ajnej <trojani2000 at hotmail.com> wrote:> > function tellerror(msg, url, linenumber){alert('Error message= '+msg+'\nURL= '+url+'\nLine Number=> > '+linenumber)return true}window.onerror=tellerror> > This is just a complete shot in the dark (I don't have Safari to try> it), but I'd start by terminating each of the commands with> semicolons:> > function tellerror(msg, url, linenumber){alert('Error message=> '+msg+'\nURL= '+url+'\nLine Number= '+linenumber;)return> true;}window.onerror=tellerror;> > gs> _______________________________________________> Javascript mailing list> Javascript at lists.evolt.org> http://lists.evolt.org/mailman/listinfo/javascript
_________________________________________________________________
Need to know now? Get instant answers with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008
More information about the Javascript
mailing list