Title: javascript double quotes
Last modified: July 11, 2019

---

# javascript double quotes

 *  [nairu777](https://wordpress.org/support/users/nairu777/)
 * (@nairu777)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/javascript-double-quotes/)
 * I am trying to insert javascript in the “onclick”-field for a link button, but
   my javascript has a string encapsulated by single quotes. I discovered the plugin
   replaces every stand single or double quotes by strange rounded quotes. this 
   way my javascript does not work and it will throw an “Uncaught SyntaxError: Invalid
   or unexpected token.”

Viewing 1 replies (of 1 total)

 *  Plugin Author [WooPrali](https://wordpress.org/support/users/wooprali/)
 * (@wooprali)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/javascript-double-quotes/#post-11996719)
 * Hi Tanks for using Designer Button.
 * Sure i will fix this issue asap.
 * From Last two years i didn’t update the plugin.
 * Now i will try to Update latest version with nice features.
 * Regards,
 * PRALI

Viewing 1 replies (of 1 total)

The topic ‘javascript double quotes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpi-designer-button-shortcode_413a0e.
   svg)
 * [WPi Designer Button](https://wordpress.org/plugins/wpi-designer-button-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpi-designer-button-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpi-designer-button-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/wpi-designer-button-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpi-designer-button-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpi-designer-button-shortcode/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [link](https://wordpress.org/support/topic-tag/link/)
 * [onclick](https://wordpress.org/support/topic-tag/onclick/)

 * 1 reply
 * 2 participants
 * Last reply from: [WooPrali](https://wordpress.org/support/users/wooprali/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/javascript-double-quotes/#post-11996719)
 * Status: not resolved