Hi,
Is there a way to add dropDown list in H5 script?
Something like this, where user can select only one value/
Thanks,
Kirill
Hi @kirill-kuchumov
You can use "ComboBoxElement" you can find the sample code in H5ScriptSDK. I'm attaching the sample code here as well.
[View:/cfs-file/__key/communityserver-discussions-components-files/111/H5SampleAddElements.txt:320:240]
Usually:
$( <span class="hljs-string">"#target" ).change(<span class="hljs-function"><span class="hljs-keyword">function(<span class="hljs-params">) {
alert( <span class="hljs-string">"change() called" );
});
</code></div> <div class="line"><code>
target should be unique ...
Thanks Sudhakaran!
What is the event when selection changed?
I tried:
- onselectionchange
- onselectionchanged
- selectionchange
- selectionchanged
Nothing works.
Thanks Antonio!