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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Oct 24, 2020, 5:12 AM EDT