Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Problem Javascript / PLSQL
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.itReceived on Tue Apr 12 2005 - 05:07:40 CDT