on 12-20-2004 2:49 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.