function callfn()
{
alert();
}
This will give error somewhat similar to
uncaught exception: [Exception… “Not enough arguments [nsIDOMWindowInternal.alert]” nsresult: “0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)” location: “JS frame :: http://rae.us.playstation.com/raeus/ps3/index.htm :: :: line 810” data: no]
Please note that this error appears specifically in Firefox. (Not sure about other browsers).
Source : http://www.sitepoint.com/forums/showthread.php?t=182241
try alert('');
that is what i am trying to show by this post.
avoid blank alerts as it would be difficult to fix the error by looking at error message