How to add JavaScript on ASP.NET Dropdownlist, pass that Dropdownlist Id to that same JavaScript function which is called? How to do the same for Dropdownlist which is a template field of Gridview?
How to add JavaScript on ASP.NET Dropdownlist, pass that Dropdownlist Id to that same
Share
You can add onchange event in dropdown if you do not need anything from database/server end
Add RowDataBound event to gridview and access dropdown for each row and assign javascript to it, here you can access data of datasource if required for javascript function.