[Javascript] SAFARI javascript major problem
Kamaleshwar Morjal
kamaleshwar.morjal at gmail.com
Thu Jul 10 11:36:02 CDT 2008
gregorinator wrote:
> 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
>
err.. shouldn't this ^^^ be
.... +linenumber); return true;
?
More information about the Javascript
mailing list