HTML Select Box: 
<select id=”A” name=”A”>
             <option value=“”>select</option>
             <option value=“all”>All</option>
             <option value=“one”>one</option>
             <option value=“two”>two</option>
</select>
JavaScript:
For selected value-
       var aValue = document.getElementById(“A”).value();
console.log(aValue );

News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: