Will Budreau wrote: > http://www.c-point.com/javascript_tutorial/special_characters.htm > > > >> var answer = window.confirm("Would you like to delete the publication >> " + the_publication + "; #" + ticket_num + "?"); >> specifically, you'd want to run a replace function in something like this: var str= the_publication; str.replace("'", "\'"); var answer = window.confirm("Would you like to delete the publication " + str + "; #" + ticket_num + "?");