Jquery Get Selected Dropdown Value on Change Event Example

By Hardik Savani | November 13, 2019 | Category : jQuery

With JQuery, we can get easily select option value onchange event in jquery. if you have question like how to get select option value on change jquery than here you will have simple example of get selected value of dropdown in jquery on change event.

In this example, i will create very simple dropdown box with some websites lists. I will add "sel" class for select box. On class i will write change event and get selected dropdown value using val() function and alert it.

You can see jquery logic code here:


var selValue = $(this).val();



So, let's see bellow simple example so it will helpful for you.


<!DOCTYPE html>



<title>Jquery Get Selected Dropdown Value on Change Event Example - ItSolutionStuff.com</title>

<script src="https://code.jquery.com/jquery-1.12.4.js"></script>



<h3>Jquery Get Selected Dropdown Value on Change Event Example</h3>

<select name="webste" class="sel">

<option>--Select Website--</option>

<option value="it">ItSolutionStuff.com</option>

<option value="hd">HDTuto.com</option>

<option value="nice">NiceSnippets.com</option>


<script type="text/javascript">


var selValue = $(this).val();






I hope it can help you...

Tags : jQuery

Hardik Savani
My name is Hardik Savani. I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.
Follow Me: Github Twitter
***Do you want me hire for your Project Work? Then Contact US.

We are Recommending you: