I have a page with list items (links) that I need to be able to hide/show from my admin page.
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
$("li").css("display","none");
});
});
</script>
How do I get it to work that if i press a button in my admin page, it hides list items that are on a different page?
The above code works to hide elements that are on the same page only.