<?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 - Node switch function not working in IE7]]></title>
	<link rel="self" href="http://www.mifjs.net/forum/feed/atom/topic/144/"/>
	<updated>2009-05-27T04:45:49Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/topic/144/</id>
		<entry>
			<title type="html"><![CDATA[Re: Node switch function not working in IE7]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/542/#p542"/>
			<content type="html"><![CDATA[try
[code] node_list[i]['switch']('unchecked');[/code]]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2009-05-27T04:45:49Z</updated>
			<id>http://mifjs.net/forum/post/542/#p542</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Node switch function not working in IE7]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/541/#p541"/>
			<content type="html"><![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]]></content>
			<author>
				<name><![CDATA[kaz]]></name>
				<uri>http://mifjs.net/forum/user/76/</uri>
			</author>
			<updated>2009-05-26T21:02:24Z</updated>
			<id>http://mifjs.net/forum/post/541/#p541</id>
		</entry>
</feed>

