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 -> Re: Javascript -> PLSQL Question

Re: Javascript -> PLSQL Question

From: <private_comm_at_my-deja.com>
Date: Thu, 30 Sep 1999 23:07:21 GMT
Message-ID: <7t0qf0$q9i$1@nnrp1.deja.com>


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

Original text of this message

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