Help please,
I am having difficulties with a function of mine working properly. It is a popup which uses the values of some textarea's to build a Preview of the page. But since in the textarea's people can use quotes it sometimes messes up the code for the popup.
Does anybody know a function, or has built one, which searches for quotes or forwardslashes and puts backslashes before it so it doesn't mess up the popup function?
Suggestions welcome
Don't eat yellow snow!
I am having difficulties with a function of mine working properly. It is a popup which uses the values of some textarea's to build a Preview of the page. But since in the textarea's people can use quotes it sometimes messes up the code for the popup.
Does anybody know a function, or has built one, which searches for quotes or forwardslashes and puts backslashes before it so it doesn't mess up the popup function?
Suggestions welcome
Don't eat yellow snow!