Hi expert, I have the problem doing the following:
When the user clicks the plus sign, it collapses to minus sign with the contents. When clicked to the minus sign again, it resumes back to plus sign.
Below is the code:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="edit-Type" edit="text/html; charset=utf-8" />
<script type="text/javascript">
$('.wpsc_categories span').click(function(){
var $ul = $(this).next();
$(this).html( $ul.is(':visible') ? '[+]' : '[–]');
$ul.slideT ...
Go to the complete details ...