i am using below code but is giving null
- $("#ddl").text();
- but
- $("#ddl").val(); //works perfectly and gives selected value
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Oct 24, 2020, 9:12 AM