cancel
Showing results for 
Search instead for 
Did you mean: 

HTML dropdown listbox selection + "onInputProcessing" event handler

Former Member
0 Kudos

Hello,

I use a HTML dropdown listbox to select a value. Some elements in the page must be updated without using any submit button. To do this, I use some JavaScript code.

But then I have a problem. I need to pass in the "onInputProcessing" event handler.

Any idea on how to do that (without using HTMLB)?

Thanks and best regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello again,

I asked too early. I've found the answer a few minutes later.

If someone is interested, all you have to do is to create an hidden field like this one:

<input type="hidden" name="onInputProcessing(an_event)"/>

Then every "submit" of the form will cause entering the "onInputProcessing" event handler. But it seems that it doesn't work if you also give some submit button of your page the name "onInputProcessing([something])".

Then to know which event was fired all you have to do is to use another hidden field to pass a string value that identifies the event.

In your JavaScript, fill this value and submit the form and the work is done.

Former Member
0 Kudos

You can also check out this new weblog:

/people/durairaj.athavanraja/blog/2004/12/20/bsphow-to-chained-dropdownlistbox