Hi,
I have a folder tree structure defined using <DIV> tags. I have several folders ( Project1, Project2, ....)
When I click on "OK" button it should call click event of Project1 ( whose id is "m216Parent" )
Click on "OK" button and clicking on Project1 should perform same function.
<div class="subFolder" id="m216Parent"><img class="icon" src="images/foldericon.gif">Project 1</div>
<div class="subFolder" id="Parent"><img class="icon" src="images/foldericon.gif">Project 2</div>
<input type=button onclick='ExpandAll()' value="OK">
function ExpandAll() {
var oInput = document.all.tags("DIV"
for (j=0;j<oInput.length;j++) {
if (oInput[j].id=="m216Parent"{
oInput[j].click(); ----------- not working
}
}
}
I have a folder tree structure defined using <DIV> tags. I have several folders ( Project1, Project2, ....)
When I click on "OK" button it should call click event of Project1 ( whose id is "m216Parent" )
Click on "OK" button and clicking on Project1 should perform same function.
<div class="subFolder" id="m216Parent"><img class="icon" src="images/foldericon.gif">Project 1</div>
<div class="subFolder" id="Parent"><img class="icon" src="images/foldericon.gif">Project 2</div>
<input type=button onclick='ExpandAll()' value="OK">
function ExpandAll() {
var oInput = document.all.tags("DIV"
for (j=0;j<oInput.length;j++) {
if (oInput[j].id=="m216Parent"{
oInput[j].click(); ----------- not working
}
}
}