--- In [email protected], "krugerboy1971"
<[EMAIL PROTECTED]> wrote:
> Firefox won't let me use GetElementById on this sort of element:
>
> <xyz:fruitBats id="bat1"..../>
getElementById is a method of the document and I am sure Firefox lets
you use document.getElementById('bat1') just fine, but to have it find
the element above (and not return null) you need to have the internal
subset of the DTD define
<!ATTLIST xyz:fruitBats id ID #IMPLIED>
That should do for Firefox and for Opera 9.
Opera 9 also supports the generic xml:id e.g.
<xyz:fruitBats xml:id="bat1"/>
not requiring any DTD declaration to have document.getElementById find
such elements.
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/