hi, im having trouble with the following code
this is just one line from the code which is not working
$('.likehide'+pid).html('<a href="#" onclick="unlike(pid); return false;">unlike</a>');
The code works but when i inspect the element, it shows up like this
<a href="#" onclick="unlike(pid); return false;">unlike</a>
it should not have "pid" it should be displaying the pid value
What am i doing wrong in the jquery code? Thanks