ASP.NET TIP :: Assign Javascript function to a Dropdown list from - TopicsExpress



          

ASP.NET TIP :: Assign Javascript function to a Dropdown list from code behind (.cs) page, and like wise assign CSS property from Javascript in C# Add this in the code behind ---------------------------- DropDownList63.Attributes.Add(onchange, holidays();); Add the code in the Source Page --------------------------------- function holidays() { var val = document.getElementById().value.toString(); if (val == Saturday) { document.getElementById(ABC).style.visibility = hidden; } }
Posted on: Thu, 24 Oct 2013 20:09:40 +0000

Trending Topics



Recently Viewed Topics




© 2015