feature request: add the showHiddenContent(outerDivID) js function to a global js file. To create hidden buttons you just need to follow this pattern:
<script type='text/javascript'>
function showHiddenContent(outerDivID){
$("div[id*='" + outerDivID + "']").html($("div[id*='" + outerDivID + "Inner']").html());
$("div[id*='" + outerDivID + "Inner']").css("display" "inheret");
}
</script>
<div id="hideId2">
<button onclick="showHiddenContent('hideId2');">outer hidden button</button>
<div id="hideId2Inner" style="display:none">
outer hidden<br />
<div id="hideId3">
<button onclick="showHiddenContent('hideId3');">nested hide button</button>
<div id="hideId3Inner" style="display:none">
nested hidden text
</div>
</div>
</div>
</div>
feature request: add the showHiddenContent(outerDivID) js function to a global js file. To create hidden buttons you just need to follow this pattern:
<script type='text/javascript'>
function showHiddenContent(outerDivID){
$("div[id*='" + outerDivID + "']").html($("div[id*='" + outerDivID + "Inner']").html());
$("div[id*='" + outerDivID + "Inner']").css("display" "inheret");
}
</script>
<div id="hideId4">
<button onclick="showHiddenContent('hideId4');">outer hidden button</button>
<div id="hideId4Inner" style="display:none">
</div>
</div>