Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Why am i always getting null?
shosho s
Feb 22 2016 2:04 AM
287
Reply
var selectedID= $('#@Html.IdFor(m => m.StudentId)').val();
Note: This value is a dropdownlist is read from a dropdownlist when the page loads.
why is this always giving me the result of " " when im using it in my view (mvc)??
but when i write it in console im actually getting the value of the Id.
Can someone please help me out?
Thank you in advance.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Free Tool for Software project task list management and chan
How to add page Number and Table to pdf in c#