how to get count value from select option in jquery code example Example: jquery count selected options var count = $("#mySelect :selected").length;