document.getElementById('<%=divcity.ClientID%>').style.display="block";}
javascript error
it does
i do get it in alert
Try this
document.getElementById('divcity').style.display = a.toUpperCase() == "CITY" ? "block" : "none";
no i am not getting as need
if i use just teh above line in script
when page is loaded first time the div with driopdown with data is visible
when i click on teh cell header initating the script with above line
it disappears
the opposite shld happen
So simply change condition
document.getElementById('divcity').style.display = a.toUpperCase() != "CITY" ? "block" : "none";
with that
the issue is
even on page load thats without the script getting exceuted its displayed
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.