logo
Search
showing results for - "js escape ampersand"
Steven
24 Oct 2016
1yourString.replace("&", "\u0026")
2// or if you want to use it in backend, do like this
3yourString.replace("&","\\u0026")
4// and in the backend just replace it with "&" again
similar questions
javascript escape htmljavascript escape html stringjs json escapejavascript escape regexjs remove escape characters from jsonjavascript escape newlinejavascript escape quote methodjavascript escaped stringjavascript escape apostrophehow to block special characters in javascriptescape json in javascriptjavascript escape single quoteregex to escape special charactersextract uppercase words nodejsarrow functions basic usages in javascriptnode js mysql escape stringhtml escape function javascriptjs escape charactersjavascript detect escape keyiife js arrow functionjavascript regex escape forward slashjs escape html
queries leading to this page
js escape ampersandescape ampersand javascriptjs escape ampersand
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue