Click here to Skip to main content
15,891,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
function hello(obj){
var childs = document.getElementById(obj).parentNode.getElementsByTagName("ul");
for( var i=0; i< childs.length; i++ )
{
var test=document.getElementById(childs[i].id);
test.style.display != "block" ? test.style.display = "block" : test.style.display = "none";
}
}





changes in the style display are not applying in the jsp file.
the above code is changing style but jsp is not reflecting these changes.why?????
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900