TechXoft
  • Home
  • Services
  • Portfolio
  • About Us
  • Testimonials
  • FAQs

dropdown

Get selected text from dropdown using jQuery

Posted on July 2, 2013July 5, 2013 by admin
Question: How can I get an dropdownlist selected text in jQuery?
Answer:
you can use following JQuery syntax for this:

 var selected_value = $('#'+yourdropdownid).val();
 var display_text = $("#yourdropdownid [value='"+selected_value+"']").text();	
Posted in Questions Tagged dropdown, javascript, jquery, MVC, PHP, web development, WordPress Leave a comment

Other FAQs

  • How to install Google Android Studio

  • How to show sortable containers ?

  • Uploadify with IE (Internet Explorer) destroy the session or reset the session in Codeigniter.

  • Android Studio – Change Android SDK Path

  • How to show tabs with JQuery

  • How to show twitter timelines on website with latest version 1.1

  • How to make a checkbox readonly not disabled?

  • Get value of selected radio button using jQuery

  • Get selected text from dropdown using jQuery


Follow Us!

Follow Us on FacebookFollow Us on Twitter

© and All Rights Reserved 2014 TechXoft.