jquery change function not working on dropdown

Total Post:108

Points:756

JQuery 
 1581  View(s)
Ratings:
Rate this:

jquery change function not working on dropdown

<script type="text/javascript">
$(document).ready(function () {
 $("#title").change(function () {
        var abc = $(this).val();//previously i mentioned this in "" by mistake please update it.
        alert(abc);
    });
});
</script>
  1. Re: jquery change function not working on dropdown

    Hi John, 

    try this:
    $("#title").live('change', function() {
            var abc = $(this).val();
            alert(abc);
        });

      Modified On Apr-04-2018 06:16:45 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.