I want to have quotes in some text displayed to the user when they click a botton but I can't get it to work. This is my lastest attempt,
cmdDelete.OnClientClick = "return confirm('Are you sure you want to delete \'" + name + "\'?');"
I've tried quotes, double quotes, double single quotes, and other things but I keep getting javascript error when I run the page. Also, something converts " to " when I try using quotes.
Does someone know how to do this?
Thanks,