Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How get the value of Drop down in Typescript?
nikoo malek
Mar 17 2017 2:51 PM
825
Reply
I have a dropdown list in MVC view as
<select id="organization" class="create-user-select-half"></select>
how I can get the value of this in TypeScript? I tried the javascript like:
var organization = document.getElementById("organization");
var strUser = organization.options[e.selectedIndex].value;
But options is not valid.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
move application from exchange server 2007 to 2013 and 2016
How to Create Login Form in Asp.net MVC using Ado.net?