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: Problem Javascript / PLSQL

Re: Problem Javascript / PLSQL

From: Fabiano Pallonetto <fp.soft_at_tiscali.it>
Date: Tue, 12 Apr 2005 10:07:40 GMT
Message-ID: <M5N6e.1219611$35.44783257@news4.tin.it>


Sorry but with your suggest I wasn't able to make it run.

<I><font size=+1> Nome Procedura=<%= NomeProc %></font></I> </TD>

<TABLE>
<% for codice in
(select line, text from User_source u where u.name like NomeProc)

   loop %>

<TR> <TD><%= codice.line %></TD><% htp.print "document.write('".codice.text ."%>')
</script>")%> </TD> </TR>
<% end loop; %>

Carlos ha scritto:
> Assuming you are using strings (varchar2), ESCAPE the sigle quotes:
> document.write('.
> and
> codice.text %>')
>
> hth
>
> Carlos.
>

-- 
Fabiano Pallonetto

Computer Science Major
http://www.pallonetto.it/fabiano/

University of Pisa
http://www.di.unipi.it
Received on Tue Apr 12 2005 - 05:07:40 CDT

Original text of this message

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