xxxxxxxxxx
$('.inner-sub-down').on('click', function() {
if (!$(this).parent().next(".column-link").hasClass('show')) {
$('.column-link').removeClass("show");
$('.left-menu-heading').removeClass('show');
}
var $subMenu = $(this).parent().next(".column-link");
$subMenu.toggleClass('show');
$(this).parent().toggleClass('show');
return false;
});
xxxxxxxxxx
$("#hide").click(function(){
$("p").hide();
});
$("#show").click(function(){
$("p").show();
});
//syntax
//$(selector).hide(speed,callback);
//$(selector).show(speed,callback);
xxxxxxxxxx
// note: use display: none
<div class="continuous" style="display: none"> </div>
<script>
$(document).ready(function() {
$('#get_data_from_rxworks').click(function(e) {
$('.continuous').show(100); // show to UI when use display: none
// $('.continuous').hide(100); // hide()
})
});
</script>