Replace Li Text Using Jquery
I am trying to replace the content of li and tags. Tried below code. SampleCopy
The order of the functions makes the string empty in the end. If you replace it with
var str = $(this).text();
it works.
I'm not sure what your line is trying to achieve, but the problem is there.
Post a Comment for "Replace Li Text Using Jquery"