i'm pretty sure you didnt run the javascript part before domready...

window.addEvent('domready', function(){
        // code here
});


On Oct 24, 2008, at 17:53, supert3d wrote:


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 );

--
my blog: http://blog.kassens.net

Reply via email to