Hi Everyone,
I have an anchor tag like below.
<a href="#" class="show-link">Read More</a>
When user clicks 'Read More' button, it executes below JS code and display hidden text.
$('.expand .show-link').click(function(){
globalExpanded = true;
var obj = $(this).parents('.expand');
if ($(obj).hasClass('expanded')) {
$(obj).removeClass('expanded');
$('.hidden-content',obj).slideUp('fast');
$(this).text('Read More');
} else {
$(obj).addClass('expanded');
$('.hidden-content',obj).slideDown('fast');
$(this).text('Less');
}
return false;
});
I want to see hidden content when 'read More' is clicked.( inorder to edit hidden content ).
Eventhough I made 'Read More' not editable, CKEditor is not executing above JS inorder to show the hidden content.
Thanks in advance !!!
-Vinay