Skip to main content

send the selected value to the server

1 reply [Last post]
ahmedaaaaa
Offline
Joined: 2007-08-07

i have a combobox and i want to intercepte the selected value to save it to my data base can you help me

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
carlavmott
Offline
Joined: 2005-02-10

Hi ahmedaaaaa,

Take a look at the dojo tests which are linked from the download page. There is a test for combobox which grabs the value. Once you have the value you can send it back to a database.



Another example which maybe useful is GetWidgetData which shows how to get data and the call to send it back to a servlet. That sample is part of the sdk bundle which is also available on the download page.

hth,
Carla