Passing strings containing % as arguments to javascript functions
flaviocJan 23 2005 — edited Feb 2 2005Hi,
I'd like to pass a string that might contain "%" (percent) signs (wildcard character for a like clause) to a pop up window invoked via javascript. This is essentially the same task described in the how-to paper for creating custom pop-up windows.
At first I thought it was just a matter of escaping the string but I can't get it to work, the string is messed up by javascript that is trying to interpret the characters following the % sign.
Something alike must be already in HTMLDB to encode "success messages", but I guess not as a javascript function.
Any hints?
Thanks,
Flavio