I try
     elm.onchange=elm.>
but the EventMethod does not executed when I change the option in select html element...
 
For the standard way .... I have to say that I am using an object wich has the select html element as setHTML... That's why I am trying to find a more generic way to catch ALL the events in the inner html element to the container DynLayer...
 
Any ideas whould be gracefull...
 
Andreas
 
 -----Original Message-----
From: Michael Pemberton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 4:02 AM
To: [EMAIL PROTECTED]
Subject: re: [Dynapi-Help] onChange event and DynLayer...

You'll notice that there is a method called capture mouse events in which it contains the following code:

     if (is.ns4) elm.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP | Event.CLICK | Event.DBLCLICK);
    elm.>

This is where is redirects these so that they trigger events that can be detected by a listener.  It may be possible to extend this to html objects but this would bog down the code.

In the mean time, you will have to use the "standard" method of attaching methods to your html objects.
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
 

Reply via email to