Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Javascript -> PLSQL Question
In article <7svq2o$ego$2_at_news.cowan.edu.au>,
"Jason Ekamper" <Jasek_at_bigpond.com> wrote:
> Hiya.
>
> I'm trying to convert a html page and 2 javascript codes into pl /sql
but
> have no idea what to do. Been trying to use WebAlchemy, but it doesnt
work
> properly. At the moment, the html file calls two external javascript
files,
> but i need them to be integrated within the plsql code. Any help
would be
> appreciated.
>
> Thanks
> Jason Ekamper
> Jasek_at_bigpond.com
>
>
The simplest woule be just to use the htp.print function in the PL/SQL WEB toolkit. For example:
<HEAD>
<SCRIPT language="JavaScript">
alert("Hello");
</SCRIPT>
</HEAD>
becomes
htp.print('<HEAD>'); htp.print('<SCRIPT language="JavaScript">'); htp.print('alert("Hello");'); htp.print('</SCRIPT>'); htp.print('</HEAD>');
hope that helped.
PC.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Sep 30 1999 - 18:07:21 CDT
![]() |
![]() |