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

Home -> Community -> Usenet -> c.d.o.server -> help in a call of a procedure

help in a call of a procedure

From: Sandy <daleelaNOdaSPAM_at_usa.net.invalid>
Date: 2000/07/21
Message-ID: <05f948ee.689e03d7@usw-ex0109-068.remarq.com>#1/1

Hi,

I have created a form in a pl/sql procedure :

the code is :

procedure b is

begin

htp.p('<HTML><HEAD>

<TITLE>Saisie d''une remontée d'' informations</TITLE>

<script language="javascript">
<!-- ;

function ShowLst(Chp)
{
sLstDev=window.open
(''http://pcmeade/xyric/XYRIC.Listedevises? Cod=Chp'',''LstDevFen'',''width=300,height=300,location=1 ,menubar=0,resizable=0,scrollbars=1,dependent=1,status=0, toolbar=0'');
}

// -->

</script>
</HEAD>');
htp.p('<BODY>');
htp.p('<FORM NAME="FormRmi"
ACTION="http://pcmeade/xyric/xyric.insertion" METHOD="POST" >
 Code Devise du transport <INPUT TYPE="text" NAME="DevTrspt" >
<img src="/images/list.gif" border="0" alt="Liste des codes situation" onClick="ShowLst(''DevTrspt'');">

</form>
..

The problem is in the call of the procedure listedevises which is in the function javascript showlst(chp) i would like the variable Chp to contain DevTrspt then i can use Devtrspt like this :

document.FormRmi.Devtrspt.value

but the problem is that the variable Chp doesn't contain it and when i call the procedure ShowLst the value of Chp is Chp.

I hope it was clear if it is not you can ask i will explain again.

thanks

Sandy

when i call this procedure (showlst(chp)) i would like it to

Received on Fri Jul 21 2000 - 00:00:00 CDT

Original text of this message

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