<HTML>
<HEAD>
<TITLE>A document with SCRIPT</TITLE>
<META http-equiv="Content-Script-Type" content="text/tcl">
<SCRIPT type="text/javascript" src="</SCRIPT>
</HEAD>
<BODY>
<SCRIPT type="text/javascript">
if(isAppAvailable('code')){
// do something
}else{
// do something
}
</SCRIPT>
</BODY>
</HTML>
In this launcher.js is located on external application, which may not available some times. If the script is not available when I invoke isAppAvailable, getting JS error. Is there any way I can handle this situation so that user never see a JS error.
Thanks in advance.
Regards
Shri
<HEAD>
<TITLE>A document with SCRIPT</TITLE>
<META http-equiv="Content-Script-Type" content="text/tcl">
<SCRIPT type="text/javascript" src="</SCRIPT>
</HEAD>
<BODY>
<SCRIPT type="text/javascript">
if(isAppAvailable('code')){
// do something
}else{
// do something
}
</SCRIPT>
</BODY>
</HTML>
In this launcher.js is located on external application, which may not available some times. If the script is not available when I invoke isAppAvailable, getting JS error. Is there any way I can handle this situation so that user never see a JS error.
Thanks in advance.
Regards
Shri