I am using some string which contains an html. As follows
var pagerHtml = '<span>No.Of Records</span><select class="rmselect" id="records" ><option value="10">10</option><option value="20">20</option><option value="40">40</option><option value="80">80</option><option value="100">100</option></select>';
Another is with " and escape sequence \" for " in the html as follows
var pagerHtml = "<span>No.Of Records</span><select class=\"rmselect\" id=\"records\" ><option value=\"10\">10</option><option value=\"20\">20</option><option value=\"40\">40</option><option value=\"80\">80</option><option value=\"100\">100</option></select>";
And I am writing this html to a div using jquery
Which one gives the better performance while parsing?
Is there any performance difference on parsing escape sequence?