Skip to Content
author's profile photo Former Member
Former Member

Drop down list Box

Hi Experts,

I I have three values in drop down list box with values like A, B, C.

Then I selectd "B" from the drop down box. But its not trigger any Event. I need the code for that. Or after selecting the List box value user press enter, Then the event should triggered.

Event trigger means I set break-point in DO_Handle_Event. So after selecting the List box value the system should goes to debugging mode.

Its very very urgent. Please help me on this issue.

I will reward full points.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 01:08 PM

    Hi Jasmine,

    in order to fire an event in case the user changes the selection in the dropdown you have to provide a eventname for the attribute "onSelect" in your view.

    If you provide such an event name (name it whatever you want) the event is fired in the browser and processed in the backend.

    Best regards,

    Alexander

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Jasmine,

      You cannot paste the code as the page interprets it as applying to the forum page; that is why I left a space between the on and Select.

      Your DO_HANDLE_EVENT code should look like:

        check htmlb_event_ex is bound.
        case htmlb_event_ex->event_server_name.
          when 'YOUREVENTNAME'.
            ...
        endcase.
      

      Regards,

      Patrick.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.