<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - Mif.Tree() Never init's with element is null]]></title>
	<link rel="self" href="http://www.mifjs.net/forum/feed/atom/topic/217/"/>
	<updated>2010-06-19T17:31:40Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/topic/217/</id>
		<entry>
			<title type="html"><![CDATA[Re: Mif.Tree() Never init's with element is null]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/802/#p802"/>
			<content type="html"><![CDATA[GOT IT! aka "The Amazing Power of Posting a Spinning Wheel!"

Highly recommend all modify their Mif libs $()'s to document.id()'s
oi!]]></content>
			<author>
				<name><![CDATA[Codename: Steeve Knight]]></name>
				<uri>http://mifjs.net/forum/user/143/</uri>
			</author>
			<updated>2010-06-19T17:31:40Z</updated>
			<id>http://mifjs.net/forum/post/802/#p802</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Mif.Tree() Never init's with element is null]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/801/#p801"/>
			<content type="html"><![CDATA[show full html code or test page]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2010-06-19T17:31:36Z</updated>
			<id>http://mifjs.net/forum/post/801/#p801</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mif.Tree() Never init's with element is null]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/800/#p800"/>
			<content type="html"><![CDATA[what am I missing?

even the simplest:
    sandbox.mooTree = new Mif.Tree({
        container: document.id('my-container-id'),
        forest: true,
        initialize: function(){
            this.initCheckbox('simple');
            new Mif.Tree.KeyNav(this);
        },
    });
errors out with element is null in Mif.Tree at:
...
this.wrapper = new Element('div').addClass('mif-tree-wrapper').injectInside(this.container);
...

I never even get a chance to load any json

container defined as:
<div id="my-container-id"></div>
and is definitely available before the Tree() call  - I've checked.]]></content>
			<author>
				<name><![CDATA[Codename: Steeve Knight]]></name>
				<uri>http://mifjs.net/forum/user/143/</uri>
			</author>
			<updated>2010-06-19T17:15:36Z</updated>
			<id>http://mifjs.net/forum/post/800/#p800</id>
		</entry>
</feed>

