Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> javascript invoking PL/SQL --- encode problem

javascript invoking PL/SQL --- encode problem

From: Robert C <rchin_at_panix.com>
Date: Mon, 12 Jan 2004 20:36:39 -0500
Message-ID: <btvi31$m1e$1@reader2.panix.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US