get inner text of selected option jQuery

$('#language_id').change(function (e) { 
    e.preventDefault();
    $('#language_name').val($('#language_id option:selected').text());
    console.log($('#language_id option:selected').text());
   });

Discover more from Soa Technology | Aditya Website Development Designing Company

Subscribe to get the latest posts sent to your email.



Leave a Reply

Discover more from Soa Technology | Aditya Website Development Designing Company

Subscribe now to keep reading and get access to the full archive.

Continue reading