iPad JavaScript error has no help

I received the following error with iPad, but not in my desktop browser:

JavaScript: Error
undefined
TypeError:'undefined' is not a function

This is a larger js application, this error message is not helpful at all. Is there any way to get the wrong line number or more Information?

Update: This is just fashionable.

line: 0 
page: undefined
desc: TypeError:'undefined' is not a function
chr: undefined

The user agent cheats in FF and safari. There is no error.

You can try to register a custom error handler to window.onerror

window.onerror = function (desc,page, line,chr)
{ alert('Line:'+line); }

desc = error message page = file/page line where the error occurred = ok chr = wrong character in the line Location

I received the following error and iPad, but not in the desktop browser:

JavaScript: Error 
undefined
TypeError:'undefined' is not a function

This is a larger js application, this error message is not helpful at all. Is there any way to get the wrong line Number or more information?

Update: This is just fashionable.

line: 0 
page: undefined
desc: TypeError:'undefined' is not a function
chr: undefined

User agent cheats in FF and safari. There is no error.

You can try Register a custom error handler to window.onerror

window.onerror = function (desc,page,line,chr)
{ alert(' Line:'+line); }

desc = error message page = file/page line where the error occurred = ok chr = wrong character position in the line

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 589 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.