Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> javascript invoking PL/SQL --- encode problem
I use this javascript function below to display popup window.
Works great until the pl/sql parameter contains special characters.
.The parameter "ttext" is the complete pl/sql URL like:
pkg.showpage?p_code=M%26M
As you can see i DID encode 'M&M' to 'M%26M'
But it still keeps failing...the web server kept interpreting '%26' as '&'
This happens both on 8i+OAS4 and 9i+Apache
Please help if you have a solution, thanks
function popupGeneral(ttext)
{w = open(ttext,"winLov","Scrollbars=1,resizable=1,width=500,height=350");
if (w.opener == null)
w.opener = self;
w.focus();}
Received on Mon Jan 12 2004 - 19:36:39 CST
![]() |
![]() |