{{theTime}}

Search This Blog

Total Pageviews

How to catch Java Script error: Can't find variable

<!DOCTYPE html>
<html>
<body>

<p id="JStrycatch"></p>

<script>
try {
jsalert("Java script error handling msg!");
}
catch(error) {
document.getElementById("JStrycatch").innerHTML = error.message;
}
</script>

</body>
</html>

No comments:

Windows 8.3 file naming setting is disabled for the product

To enable Windows 8.3 file naming setting use fsutil command Example:  c:\> fsutil 8dot3name set C: 0