Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Call JavaScript Function in PL/SQL

828151Apr 5 2011 — edited Apr 6 2011
Hello All,

I need to call a JS function to open a popup, I'm in the middle of a PL/SQL Process that I use:
   V_ERRO_VALIDACAO := 'S';
  --
  IF V_ERRO_VALIDACAO = 'S' THEN
    HTP.p ('<script type="text/javascript">'); 
    HTP.p ('javascript:popUp2(''f?p=&APP_ID.:21:&SESSION.::NO::'', 700, 400);');
    HTP.p ('</script>'); 
  END IF;
  --
But it's not working.

It's hard coded for testing purposes

Is there a way to call the popup in the process?

Thanks,
Alan Martini.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2011
Added on Apr 5 2011
5 comments
2,644 views