I have p element like this :
<p class="11"></p>
I try to change the content by append() method through clear.js like this :
$('.11').append("taylor");
it works fine and print "taylor" on my page, but if I change my code like this :
number=11;
classProv = "'." + number + "'";
$(classProv).append("taylor");
it returns error message :Syntax error, unrecognized expression: '.11'
Why did it happen ? Any solution?