Sir
this code is running in localhost but on server not running. Please correct it or guide something else.
<script>
$(document).ready(function () {
$(".slidingDiv").hide();
$('.show_hide').click(function (e) {
$(".slidingDiv").slideToggle("fast");
var val = $(this).text() == "-" ? "+" : "-";
$(this).hide().text(val).fadeIn("fast");
e.preventDefault();
});
});
</script>
<a href="#" class="show_hide">+</a>
<div class="slidingDiv">
....................................
</div>