Combo Box without Submit button

I have a combo box with values and a Submit button to send those values
to server. Ajax based.
But I have seen on some sites that those people don’t have Submit
buttons, just select a value from drop down and as you click it, it
starts processing as it does after pressing Submit button, but there
without Submit button of course.

Any idea how to implement that?

Thanks

On 29 Oct 2007, at 10:10, Vapor … wrote:

I have a combo box with values and a Submit button to send those
values
to server. Ajax based.
But I have seen on some sites that those people don’t have Submit
buttons, just select a value from drop down and as you click it, it
starts processing as it does after pressing Submit button, but there
without Submit button of course.

Stick an onchange handler on the combo box?

Fred

Frederick C. wrote:

Stick an onchange handler on the combo box?

Fred

No idea about that…could you please describe a little?

On 29 Oct 2007, at 10:39, Vapor … wrote:

Frederick C. wrote:

Stick an onchange handler on the combo box?

Fred

No idea about that…could you please describe a little?

Well at a basic level for most input elements, the onchange attribute
is a chunk of javascript that is called when the input element is
changed.
The documentation for remote_function gives an example of this.

Fred