Select to view content in your preferred language

How to pass the value of combobox to a Button Click Event on arcgis javascript.

2039
2
02-24-2016 10:50 PM
ADITIROY
Deactivated User

Hi,

I have a combobox where value is to be passed on button click rather than on just select. How to do this on button click.

Regards,

Aditi

Tags (2)
0 Kudos
2 Replies
nicogis
MVP Frequent Contributor
0 Kudos
MiriamBrockmann
Frequent Contributor

Hi!

Simplest way is to pass the value of the ComboBox like that :

     on(thisButton, "click", function(registry.byId("ComboboxId").get('value')){....});

Regards

0 Kudos