Function JavaScriptEscape(Input as String) As String
Input = Input.ReplaceAll(chr(34), “” + chr(34))
Input = Input.ReplaceAll("’", “\’”)
Input = Input.ReplaceAll(EndOfLine, “”)
input = input.ReplaceAll(chr(10),"")
input = input.ReplaceAll(chr(13),"")
Return Input
End Function
Add that to your Methods, it should fix the problem. The function is normally found in the jQueryGlobals Module but can be accessed from anywhere.
Function AddQuotes(Input as String) As String
return chr(34) + Input + chr(34)
End Function
and this one :-p
Bug report.
34818 - WebMoviePlayer no sound when playing local MP3