Hi
How do I pass a string variable into a function without generating errors?
Currently I have a variable called TaskDesc which gets passed to my js function. If TaskDesc contains one word all is fine but when TaskDesc contains many words which is the most likely scenario I get errors and the function won't work.
I have tried fiddling with the \ (slash ) but that didn't seem to work.
Any help is appreciated
How do I pass a string variable into a function without generating errors?
Currently I have a variable called TaskDesc which gets passed to my js function. If TaskDesc contains one word all is fine but when TaskDesc contains many words which is the most likely scenario I get errors and the function won't work.
I have tried fiddling with the \ (slash ) but that didn't seem to work.
Any help is appreciated