Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

add java script event - combobox

New Here ,
Jul 29, 2021 Jul 29, 2021

I´m using a combobox from the components menu and when I select the item "a" from the drop-down list the text (dynamic text with an instance name/ID) in the html canvas should change to "name a" and when I select the item "b" from the drop-down list the same text should change to "name b". 

 

I set an instance name to the combobox (sel_combo) and also to the dynamic text of the html canvas (text_canvas).

 

Is it possible to use the Actions panel to add a java script code/event to change the text name ("name a" or "name b") as I select a different item ("a" or "b") from the drop-down list of the combobox?

 

 

172
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 29, 2021 Jul 29, 2021

yes.  i could show you the code, but i think you would do well to learn how to use animate.

 

to that end, use the code snippets panel to see how to encode the combobox change event.  if you have trouble understanding how to do that or use that, repost.

Translate
Community Expert ,
Jul 29, 2021 Jul 29, 2021
LATEST

yes.  i could show you the code, but i think you would do well to learn how to use animate.

 

to that end, use the code snippets panel to see how to encode the combobox change event.  if you have trouble understanding how to do that or use that, repost.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines