[thelist] quote in variable

Daniel Kessler danielk at umd.edu
Mon May 14 11:10:48 CDT 2007

I have this line,
var answer = window.confirm("Would you like to delete the publication  
" + the_publication + "; #" + ticket_num + "?");

It works well except when the variable the_publication has a quote in  
it.  For example "Chapter titled, as if you didn't know".

How do I deal with that?

thank you.


Daniel Kessler

College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545

More information about the thelist mailing list