what is the real difference between the following code:
<p>Maizere1</p>
<p>Maizere2</p>
<p>Maizere3</p>
<script>
$("p").text($(this).text()).get(0);
vs
$("<p>").text($(this).text()).get(0);//actually this line is what giving me trouble
what does $("<p>"> this do?
i heard that $("<p>") will first actually check where the element exist or not ,if not only will create element
$('<p>')isn’t a valid jquery selector but it will however create a<p>element which I don’t think is what you’re trying to solve here.