jmreicha jmreicha - 1 year ago 132
Javascript Question

How to nest these quotes?

I am trying to get the following code to work using nested quotes but I don't know how to triple nest them. Here's the code I have so far but it isn't working, I get

Runtime.evaluate threw exception: SyntaxError: Unexpected token &
when I run it.


It seems like there should be a better way to do this but I'm not familiar enough with Javascript

Answer Source

Just escape them:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download