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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -