Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to get the value of dropdown in jquery

BY LOVE
$('#ddlName option:selected').val();
Comment

Jquery get value of dropdown selected

var conceptName = $('#aioConceptName').find(":selected").text();
Comment

jquery get selected dropdown item

 // dropdown for company selection
var company = $('#CountryCode').find('option:selected').text();
Comment

select dropdown value using jquery

$('#dropdownid').val('selectedvalue');
Comment

jquery get dropdown list selected value

$('#dropDownId').val();
Comment

jquery: get selected option of the drop down list

$('#ddlID').val();
$('#ddlID').text();
Comment

PREVIOUS NEXT
Code Example
Javascript :: parse document.cookie 
Javascript :: jquery when you typing in input 
Javascript :: jquery check if div has a certain style 
Javascript :: javascript check if object is empty 
Javascript :: Appium find Android element by Id using Javascript 
Javascript :: use application/x-www-form-urlencoded in javascript 
Javascript :: display none js 
Javascript :: reset a select option jquery 
Javascript :: textarea react native 
Javascript :: Remove specific object from the Array in Javascript 
Javascript :: acces store from vue console javascript 
Javascript :: express js clear cookie 
Javascript :: how to reload the same page using javascript 
Javascript :: javascript can you defer inline 
Javascript :: js number remove last 2 characters 
Javascript :: js redirect to relative url 
Javascript :: jquery get data attribute value 
Javascript :: jquery select on select 
Javascript :: js explode equivalent 
Javascript :: css in console.log 
Javascript :: console.log ejs 
Javascript :: google script for loop 
Javascript :: select a label from jquery using for attribute 
Javascript :: datatables change width of columns 
Javascript :: npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve 
Javascript :: convert a string to html element in js 
Javascript :: angular for loop key value 
Javascript :: vue settimeout in computed 
Javascript :: creating new react app 
Javascript :: angular ng serve with custom port 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =