[Javascript] SAFARI javascript major problem

gregorinator gregorinator at gmail.com
Thu Jul 10 06:40:18 CDT 2008


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



More information about the Javascript mailing list