javascript - Removing extra characters from name of checkboxes -
iv'e got problem characters in names of checkboxes.
there line
var string = "<div class="blblb"><input type="checkbox" name="dasdasads"><input type="checbox" name="adsdsada"></div>";
the question is, how remove if exist characters ,,string,, names of checkboxes ? characters "
, '
i'm looking on google , can't find anything.
var string = "<div class=\"blblb\"><input type=\"checkbox\" name=\"dasdasads\"><input type=\"checbox\" name=\"adsdsada\"></div>";
escape using \
Comments
Post a Comment