jquery and html encoding
-
have a search grid and when I select any row and close it the values get mapped to textboxes in aspx form. Issue is evrytime I have a value like ' ab & cd' it gets mapped as ' ab & amp ; cd' I am finding the value as follows in the click event of tr
$(this).find("td:nth-child(1)").html();
Thanks
-
have a search grid and when I select any row and close it the values get mapped to textboxes in aspx form. Issue is evrytime I have a value like ' ab & cd' it gets mapped as ' ab & amp ; cd' I am finding the value as follows in the click event of tr
$(this).find("td:nth-child(1)").html();
Thanks
Have you tried using the $.text method jquery offers for getting an elements textual content. This might well solve your problem.
$(this).find("td:nth-child(1)").text();