<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - Node switch function not working in IE7]]></title>
		<link>http://mifjs.net/forum/topic/144/</link>
		<description><![CDATA[The most recent posts in Node switch function not working in IE7.]]></description>
		<lastBuildDate>Wed, 27 May 2009 04:45:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Node switch function not working in IE7]]></title>
			<link>http://mifjs.net/forum/post/542/#p542</link>
			<description><![CDATA[try
[code] node_list[i]['switch']('unchecked');[/code]]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Wed, 27 May 2009 04:45:49 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/542/#p542</guid>
		</item>
		<item>
			<title><![CDATA[Node switch function not working in IE7]]></title>
			<link>http://mifjs.net/forum/post/541/#p541</link>
			<description><![CDATA[Hi All,

I've found a bug when working with IE7, version 7.0.5730.11

When I'm trying to call the switch function in IE7, it throws an error indicating that it is expecting a case statement.  Until/unless M$ fixes this issue, I'd like to suggest that the function Mif.Tree.Node.switch be named something else.  A snippit of my code is provided below:

[code]for(var i=0;i<node_list.length;i++) {
   node_list[i].switch('unchecked');
}[/code]

The error (verbatim) from IE is "Expected identifier"
The same piece of code works flawlessly in Firefox.
Yes, IE sucks, but my employer is insisting on IE compliance]]></description>
			<author><![CDATA[dummy@example.com (kaz)]]></author>
			<pubDate>Tue, 26 May 2009 21:02:24 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/541/#p541</guid>
		</item>
	</channel>
</rss>

