Report - checkbox - javascript
512663Jul 6 2006 — edited Jul 6 2006Hey 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