Hi all,
I want to hide and display certain webpart thru button click event, either thru object model or Jquery. How can i do this?
I have a below jquery script but its not working.
<script src="</script">http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$(".btnShowHideCSSClass").click(function(){
alert('test');
$('#MSOZoneCell_WebPartWPQ4').hide();
$('#MSOZoneCell_WebPartWPQ6').show();
});
});</script><input id="showObj" accesskey="o" type="button" class="btnShowHideCSSClass" value="Objectives"/>