this may give some errors if the DynAPI.getDocument(window) does not return
a dyndoc reference. You will find that it will say null has no properties
or something to that effect.
with the latest version of the code, all the DynObjects place themselves
in an array that can be used with DynObject
For info, the following function seems do do the job...
DynAPI.getDocument(windowname).all[id]
where :
windowname is your window or frame name (string)
id is the id of the searched DynAPI element
It returns either a reference to the element or "undefined"
Ok, so I just have to make my own "search by id" function and wait until it
is developped in DynAPI...
Cool, I just wanted to know if I was going to write something that already
exist...
Thanks, see you !!!
Nicolas
___
Dynapi-Help mailing list
[EMAIL
this could be a nice feature for a future version,
I'm not sure what exactly we would use it for.
--
Robert Rainwater
On 4/3/2001, 1:39:10 PM EST, Nicolas wrote about "[Dynapi-Help] using getElementById()
function":
> Ok, I know the DOM methods for 6.0 browsers, but this m
--Oorspronkelijk bericht-
> *Van:* [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]*Namens *Nicolas MASSART
> *Verzonden:* dinsdag 3 april 2001 19:39
> *Aan:* [EMAIL PROTECTED]
> *Onderwerp:* Re: [Dynapi-Help] using getElementById() function
>
>
Ah.. I should have read on...
- Original Message -
From:
Pascal
Bestebroer
To: [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 10:59
AM
Subject: RE: [Dynapi-Help] using
getElementById() function
that's the dynacore reference... not d
that's right. I do believe we had, at some point,
implemented this function in DynAPI.
I could be misstaken though
- Original Message -
From:
Nicolas
MASSART
To: [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 10:39
AM
Subject: Re: [Dynapi-Help]
that's
the dynacore reference... not dynapi ..
Pascal Bestebroer[EMAIL PROTECTED]http://www.dynamic-core.net
-Oorspronkelijk bericht-Van:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Nicolas
MASSARTVerzonden: dinsdag 3 april 2001 19:39Aan:
[EMAIL PROTECTED]Onde
Ok, I know the DOM methods for 6.0 browsers, but this method is also shown
in the DynAPI reference (see attachment)
Note that this function is not said to be private...
Cameron Hart wrote:
it's not a DynAPI function, it's a DOM function.
You can only use it in
browsers that support the DOM, for
t; MASSART
> Sent: 03 April 2001 17:59
> To: dynapi-help
> Subject: [Dynapi-Help] using getElementById() function
>
>
> hi !
> I would like tu use the getElementById() function bu I don't understand
> how it works.
> I wrote :
> alert(DynAPI.getElementById(
hi !
I would like tu use the getElementById() function bu I don't understand
how it works.
I wrote :
alert(DynAPI.getElementById('MyID').id);
but it returns nothing because getElementById() is not a DunAPI function
(as my browser said...)
Anyone knows how to use this function ?
Thanks
--
---
11 matches
Mail list logo