• In this article we will learn how to how to get selected value of dropdown after change in jquery or What is change() method in jquery or why use change() method in jquery with example.

  • Description:
  • jQuery change event occurs when the value of an element is changed. It works only on form fields  <input>, <textarea> and <select> elements. The change() method triggers the change event, or attaches a function to run when a change event occurs.

  • Syntax:
  • $(selector).change()  

  • Example of jQuery change() method

Let's take an example to demonstrate jQuery change() Method.

<!DOCTYPE html>
    <script src=""></script>
        $(document).ready(function () {
            $("select").change(function () {
                $("#languageName").html("You selected: "+$("#language").val());
    <select id="language" name="language">
        <option selected="selected"></option>
        <option>c Sharp</option>
        <option >Asp.Net</option>
        <option>SQL Server</option>
    <div id="languageName" style=" margin-top:10px;"></div>


how to use change event in jquery

In above example when we change dropdown selection then call change event.

and get selected value.


I hope this article will help to you.

 Let's check live example

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

You may also like