Title: Shortcoder deletes backspace in javascript
Last modified: February 2, 2020

---

# Shortcoder deletes backspace in javascript

 *  [mcerisano](https://wordpress.org/support/users/mcerisano/)
 * (@mcerisano)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shortcoder-deletes-backspace-in-javascript/)
 * I coded this:
 * alert(“Your Score: ” + mark[n] + “\nSorry. You have to get 100% to go to the 
   next lesson.\nPlease try again.\nThe page may take a few seconds to reload.”);
 * And when I reload the page, I get this:
 * alert(“Your Score: ” + mark[n] + “nSorry. You have to get 100% to go to the next
   lesson.nPlease try again.
    nThe page may take a few seconds to reload.”);
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcoder-deletes-backspace-in-javascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Shortcoder deletes backspace in javascript’ is closed to new replies.

 * ![](https://ps.w.org/shortcoder/assets/icon.svg?rev=2222236)
 * [Shortcoder — Create Shortcodes for Anything](https://wordpress.org/plugins/shortcoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcoder/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcoder/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mcerisano](https://wordpress.org/support/users/mcerisano/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/shortcoder-deletes-backspace-in-javascript/)
 * Status: not resolved