Code Snippets-Declare apostrophe in JavaScript

To begin my code snippet articles for small functions that I have written. Wonder how you can write Ngo’mbe using Javascript. You use the single quote. Example: var TheText; TheText = ‘Ngo\’mbe’; Explanation The backslash tells JavaScript (this has nothing to do with jQuery, by the way) that the next character should be interpreted as “special”. In this case, […]

Read more