Hi Joan,
I think the syntax should be
DynAPI.document.all['div1']
At least, that's what I've been using and it seems to work in IE6 and
5.5, as well as Mozilla 1.x.
You can also pass the element to a variable, so that you don't have to
keep repeating the document.all line everytime you call the element:
var_div1 = DynAPI.document.all['div1']
Hope that helps...
Arijit
Joan Torres wrote:
>Hi,
>
> I'm using Dynapi 2.5.7 in my Web Application and it works fine with IE 5.5 and NS 4.0. Now I'm trying to use it with IE 6 and a problem has arisen:
>
> DynAPI.document.getAll() return an empty array.
>
>I'm using this function to fetch a DIV element in order to manipulate the
>information contained within it.
>
>Ex: I want to access a <div id="div1'></div> element:
> DynAPI.document.getAll()['div1']
>
>Has anybody else come across this problem?
>Is there a fix or perhaps a better solution?
>
>Thanks in advance
>Joan Torres
>
>
>-------------------------------------------------------
>Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
>The only event dedicated to issues related to Linux enterprise solutions
>www.enterpriselinuxforum.com
>
>_______________________________________________
>Dynapi-Help mailing list
>Dyn...@li...
>https://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
>
|