Axure 9.0.0.3723 Bug report: open url javascript function CANNOT use STRING variable

just a single line javascript with STRING .

Preview in safari got an error like this.
image

:confounded::confounded::confounded:

And if I change alert('hello'); to alert( 123 ); while works properly.

The way Axure represents single and double quotes inside its editor is wrong. Notice how the single quote is a typographic quote, but your code that works is a neutral single quote. SUPER OBNOXIOUS!

My recommendation is to do your axure scripting inside an IDE or coding text editor. Iā€™m a fan of Atom. Just make sure you set the language to Javascript

1 Like

Thank you for your explanation. save me. :+1:

1 Like