I am having issue passing text containing special characters to a javascript function. Would like to know if there is any special means to pass text like this.
Ex: onclick="loadPopup('My Saloon's Test')" <----- Text having special character( ' )
For future reference, there is a HTML and JavaScript forum that you should use instead of this one. Special characters need to be escaped. Traditionally the escape character is backslash. Try the following