Buy Questpond's video subscriptions on
huge discount
.
Online: 2406
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
JavaScript
>
Loading ...
How to get value from dropdown (select) control?
Posted by
Raja
on 6/29/2008 | Category:
JavaScript Interview questions
| Views: 9539
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Write following code
alert(document.getElementById('dropdown1').value);
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to get value from RadioButtonList control?
Next > :
How to get value from a textbox?
Comments or Responses
Posted by:
dhananjay01singh-11861
on: 9/12/2011 |
Points: 10
var ddl = document.getElementById('dropdownlist');
var ddlvalue = ddl.options[ddl.selecteIndex].value;
Login to post response
More Interview Questions by Raja
How to get value from a textbox?
How to improve performance of web page in asp.net?
What is the difference between asp:Label and asp:Literal control?
How to copy items from one DropDownList control to another DropDownLis ...
How to join two tables in Sql Server?
What is the location of Global Assembly Cache on the system.
What's the difference between private and shared assembly?
Can you place two .dll files with the same name in GAC (Global Assembl ...
Latest Interview Questions
What is isPostback property?
Explain friend and protected friend?
What is the difference between overloading and overriding ? how can th ...
Explain serialization?
What is a Process, Session and Cookie?
If cookies is disabled in client browser, will session tracking work?
What is web application virtual directory
Differences between application and session ?
More ...