I'm stucked in a simple variable, what i want to achieve is to have link text as variable. my code:
var ReadMore = myvar;
$(this).empty().html(subStr);
$(this).append(' <a href="javascript:void(0);" class="linkReadMore">MY VARIABLE HERE</a>')
i've tried in many ways but i'm doing something wrong for sure, can someone tell me what i'm doing wrong?