Hello, I have created a dropdown lists using javascript dynamically. But i am not able to get the selected option values of that dropdown lists. could anyone please help.

Post your codes here so that we can help, please don't assuming we are godlike that can simulate your situation directly.

Use static parent e.g. body for this situation.

$('body').on('change', "#dynamicselectid", function(e){
 console.log($(this).val());
});
Member Avatar for diafol

@saqib - we're still waiting for the OP. No point guessing. You are assuming that (s)he is using jQuery - this may not be the case. We're also in the business of helping members help themselves rather than post solutions for them.

This appears to be a dead thread, so let's leave it unless the OP returns. We don't want these threads cluttering up the main thread list page. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.