If we want to return total number of dropdown value Then code will be in jquery is var len = $(‘#selectboxID option’).length; alert(len); If we want to return total number of selected dropdown value Then code will be in jquery is var len = $(‘#selectboxID option:selected’).length; alert(len);
jquery
Forecast Weather using OpenWeatherMap with PHP
In this tutorial, we are going to create a PHP application to display weather forecast information using an API. I have used OpenWeatherMap service to implement this with PHP. This is one of the best API service that provides weather forecast. It provides tremendous volume of weather data regularly. It is a free service with limited access. […]