Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Passing strings containing % as arguments to javascript functions

flaviocJan 23 2005 — edited Feb 2 2005
Hi,
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2005
Added on Jan 23 2005
10 comments
524 views