Wednesday, September 26, 2012

Display block / none using jquery


<script type="text/javascript">
        function OpenPanel() {
            $("#<%= pnlTemplate.ClientID%>").css("display", "block");
            $("#<%= pnlEvents.ClientID%>").css("display", "none");
        }

    </script>
In the above Javascript i hide one panel and showing another panel using jquery display block and display none with css

No comments:

Post a Comment

Comments

Search

Custom Search
Protected by Copyscape Plagiarism Software