I'm trying to get this to work, but it doesn't:
var i;
i.test = function() {
alert("hello");
}
i.test();
I expect the code to alert 'hello', but instead, the Firefox error console shows:
missing } in XML expression
alert("hello");
---------------^
How do I fix this...