Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi David,
Unfortunately you won't be able to limit this dropdown list.
I've searched for references on how to do it but wasn't able to find anything specifically for the dropdown options.
Thanks,
Shane
Thanks Shane apprecate all your help
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi david,
It is not an elegant solution but you can do it like this based on the code you've sent.
jQuery('select').attr("onmousedown","if(this.options.length>8){this.size=8;}");
Thanks Shane,
I've inserted
jQuery('select').attr("onmousedown","if(this.options.length>8){this.size=8;}");
into the JS Editor section, which results in attached image.
Is there any way to add all of the snippet from the example
onmousedown="if(this.options.length>8){this.size=8;}" onchange='this.size=0;' onblur="this.size=0;">
So that onchange or onblur the list dropdown closes.
Thanks
Hi Shane,
Problem solved added to JSEditor
jQuery('select').attr("onmousedown","if(this.options.length>8){this.size=8;}");
jQuery('select').attr("onchange","this.size=0");
jQuery('select').attr("onblur","this.size=0");
Thanks for your help, couldn't have done it without you.
David