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!

Report - checkbox - javascript

512663Jul 6 2006 — edited Jul 6 2006
Hey there,

I have made a report with a checkbox each line. I like to make something that when a user doesn't check any checkboxes and tries to press a button that he gets a javascript alert.

I have the default code for updating the report:

BEGIN
FOR i in 1..HTMLDB_APPLICATION.G_F01.count
LOOP
UPDATE dossiers SET public_sale_id = null
WHERE dossier_id = HTMLDB_APPLICATION.G_F01(i);
END LOOP;
END;

But i can't seem to get any javascript launched in my pl/sql.
i have tried this already: htp.p('<script language="JavaScript">alert("test");</script>');

Can anyone help me?

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2006
Added on Jul 6 2006
2 comments
421 views