Bladephp: Now with 8+ codeigniter, php, and laravel project 8+ php project From $37/Month From Rs. 2499/Month

Jquery change event

by
Category:php
php javascript jquery
Jquery change event

The change event occurs when the value of an element has been changed (only works on <input>, <textarea> and <select> elements).

The change() method triggers the change event, or attaches a function to run when a change event occurs. You may also like onchange Event Jquery and Onsubmit event using ajax and return true but Form not submit using Jquery.

Code

<script>
$(document).ready(function(){
    $("select").change(function(){
        alert("changed.");
    });
});
</script>

0 Comments


Html code work in comment box


Related Post