Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> help in a call of a procedure
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