List Info

Thread: getElementsByClass




getElementsByClass
user name
2007-01-29 17:01:04
Just checking if I'm delusional or whether dojo.html.getElementByClass is broken in IE 7.

dojo.debug("pre getElementByClass")
tabs = dojo.html.getElementByClass(';tab', 'tabs', 'div');
dojo.debug("post getElementByClass")

on a chunk o' code that looks like this

<div id="tabs"&gt;
  <div id="tab_1" class=&quot;tab">blah<;/div>
  <div id="tab_2" class=&quot;tab">blah<;/div>
&lt;/div>

results in

DEBUG: pre getElementByClass


and nothing else. ;

Works fine in Safari, FF, and Opera.

Any suggestions or alternatives would be greatly appreciated. 

Vance


--
Most People are not even aware of their need to conform. They live under the illusion that they follow their own ideas and inclinations, that they are individualists, that they have arrived a their opinions as the result of their own thinking – and that it just happens that their ideas are the same as those of the majority
-- Eric Fromm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users"; group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to django-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: getElementsByClass
user name
2007-01-29 17:05:26
DISREGARD. WRONG LIST!!&nbsp; SORRY.

On 1/29/07, Vance Dubberly < altjeringagmail.com">altjeringagmail.com> wrote:
Just checking if I'm delusional or whether dojo.html.getElementByClass is broken in IE 7.

dojo.debug("pre getElementByClass&quot;)
tabs = dojo.html.getElementByClass(';tab', 'tabs&#39;, 'div&#39;);
dojo.debug(&quot;post getElementByClass&quot;)

on a chunk o' code that looks like this

<div id="tabs"&gt;
  <div id="tab_1" class=&quot;tab">blah<;/div>
  <div id="tab_2" class=&quot;tab">blah<;/div>
&lt;/div>

results in

DEBUG: pre getElementByClass


and nothing else. ;

Works fine in Safari, FF, and Opera.

Any suggestions or alternatives would be greatly appreciated. 

Vance


--
Most People are not even aware of their need to conform. They live under the illusion that they follow their own ideas and inclinations, that they are individualists, that they have arrived a their opinions as the result of their own thinking – and that it just happens that their ideas are the same as those of the majority
-- Eric Fromm



--
Most People are not even aware of their need to conform. They live under the illusion that they follow their own ideas and inclinations, that they are individualists, that they have arrived a their opinions as the result of their own thinking – and that it just happens that their ideas are the same as those of the majority
-- Eric Fromm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users"; group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to django-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )