The forum operates in read-only mode. Please head to StackOverflow for support.
In a function is where it goes. Like so:function checkIfNull(instanceName) { editor_frame = document.getElementById(instanceName+'___Frame'); if(editor_frame == null) { alert("You know what? The editor frame is NULL!!");}}then have a button <input type="button" onclick="javascript:checkIfNull('theInstanceNameGoesHere');">Theoretically...
RE: Checking for NULL value?
editor_frame = document.getElementById(instanceName+'___Frame');
if(editor_frame == null)
{
alert("You know what? The editor frame is NULL!!");
}
RE: Checking for NULL value?
RE: Checking for NULL value?
In a function is where it goes. Like so:

function checkIfNull(instanceName) {
editor_frame = document.getElementById(instanceName+'___Frame');
if(editor_frame == null)
{
alert("You know what? The editor frame is NULL!!");
}
}
then have a button <input type="button" onclick="javascript:checkIfNull('theInstanceNameGoesHere');">
Theoretically...