• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

How can I get the Onclick class event for all the Select elemaents in a CDHtmlDialog class

Hello Group,

I added the following code into my DHTML_EVENT_MAP but it didn't work;

Can you please help me out?
1 Solution
Meir RivkinFull stack Software EngineerCommented:
you wrote DHTML_EVEN_CLASS instead of DHTML_EVENT_CLASS, could it be it?
akohanAuthor Commented:
Sorry, my bad, it was a mistype, I wrote this code;

There are two select elements in my HTML code with the "cDLY" as their class, but they don't fire the event and the program never runs the OnSetDelay function. Please notice that I want to get the event on all select elements with the "cDLY" as their class. I can get the event by using following code;
but useing this code I have to add an individual line for every select element I have in my page.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now