Thanks!
console.log($$('#game div')); did the trick.

I'm writing a silly game to get back into the swing of things, I haven't been coding anything for the better part of a year.

http://fiddle.jshell.net/hazlema/5LesN/


hazlema <mailto:[email protected]>
Thursday, February 09, 2012 11:03 PM
Trying to figure out why my Slick query wont work:

This returns the info I want:
console.log($('game').getElements('div'));

This does not:
console.log($$('game ~~ div'));

How can I write a query to get all the div's after <div id="game">?

--

*Matthew Hazlett*/Owner//, Clarity Computers/
Tel: 603 707 1774| Mobile: 603 707 1774
[email protected]| http://www.linkedin.com/in/hazlema


Facebook <http://www.facebook.com/profile.php?id=1491561960> Twitter <https://twitter.com/#%21/hazlema> LinkedIn <http://www.linkedin.com/in/hazlema>

<<inline: postbox-contact.jpg>>

<<inline: facebook.png>>

<<inline: twitter.png>>

<<inline: linkedin.png>>

Reply via email to