Quoting within an alert...

admin

Administrator
Staff member
Good morning to all,

Does anyone know how to use quotation marks within an alert message?

i.e. alert("Click "Yes" to accept. Click "No" to decline.")

to output:

Click "Yes" to accept. Click "No" to decline.
 
Back
Top