Javascript Count Dropdown

teoyh

Member
Can someone help me to correct this syntax in JavaScript ;

npcount = Fabrik.getBlock('form_649').formElements.get('stcase___neutralparty').length;

I have a dropdown, under certain condition the option in the dropdown list will be blank , when the count return 0 then i will want to hide it.

Thank you in advance
 
I have used this:

optionsCount = jQuery('#mytable___selectelement').children('option').length;
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top