why not <p> works
why not <p> works
I have written this code to strip html from the paragraph (<p id="p1">......</p>)-
t('#p1').text(t('#p1').text());
I tried it and tired. Then somehow remembered that may be <p> will not work and replaced the <p> tag with <div> tag and the same JQuery code starts working. Why ?