Line 34: | Line 34: | ||
<p> text</p> | <p> text</p> | ||
+ | |||
</div> | </div> | ||
Line 47: | Line 48: | ||
− | $(".ti_section_title").click(function() { | + | $(".ti_section_title").click(function() { |
+ | var htmlString = $( this ).html(); | ||
$(".tl_section_content").toggle(); | $(".tl_section_content").toggle(); | ||
+ | |||
+ | if ( $('.tl_section_content:visible').length == 0) { | ||
+ | htmlString = htmlString.replace('▼',' 0 '); | ||
+ | alert (htmlString); | ||
+ | } | ||
}); | }); | ||
− | |||
− | |||
− | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 16:51, 7 January 2016
▼ General
text