Heya, I'm struggling with the new selector syntax.
Any reason why myElement = null; in this example ?
[html]
<div id="test"></div>
[js]
var myElement = $('test');
alert(myElement );
Heya, I'm struggling with the new selector syntax.
Any reason why myElement = null; in this example ?
[html]
<div id="test"></div>
[js]
var myElement = $('test');
alert(myElement );