What is the fully qualified name for $find()?
I can use $find() within other functions without problem. For example,
But if I try to use it at top-level, like this:
I get "$find not defined" error.
Similar error happens when I try to use shortcut method $get(). I use its fully qualified name (document.getElementById), then it is OK. So I guess if I use $find's full name, it should solve the problem.
I can use $find() within other functions without problem. For example,
function FindCombo(idCombo){ |
var combo = $find(idCombo); |
combo.set_text("Here I am!"); |
} |
But if I try to use it at top-level, like this:
var MyObject = new Object(); |
MyObject.combo = $find("MyComboId"); |
Similar error happens when I try to use shortcut method $get(). I use its fully qualified name (document.getElementById), then it is OK. So I guess if I use $find's full name, it should solve the problem.