Hi,
I have a .cshtml page which has some controls on top and table below.
Table is created with lots of if else condition and for that I want to access html controls value (dropdown selected value).
I am struggling with how to access dropdown list selected value in same .cshtml page.
so something like that ??
if(dropdown selected value == "4")
{
}
Uday DodiyaPosted Oct 2, 2024, 10:29 AM
Hi,
You can go through folowing, html code
JS Code
Jignesh KumarPosted Oct 1, 2024, 10:56 PM
Hello,
You can create value for drop-down in html,
In JavaScript you can get selected value,