Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: JavaScript in PL/SQL
Take a look at a previous thread - Started by myself - called: "Javascript Include ".js" files in OAS." The last message posted should clear this up - it looks like you need to define the directory where the .js file is in OAS.
Michael
Siggi wrote:
> I am trying to include a static JavaScript (.js) file into PL/SQL code
> using the WEB toolkit.
>
> htp.p('<script src="imfunc.js"> </script>');
>
> When I call the PL/SQL procedure to display the browser page I always
> get a JavaScript error with a syntax error in line 1 and that the
> request cannot be processed at the moment.
>
> I am using Oracle Application Server 4.0 and the built-in listener.
> I also configured the listener to recognize MIME type js.
>
> Does anybody know what the problem might be?
Received on Thu May 18 2000 - 00:00:00 CDT