AJAX checkbox
180271Jun 11 2009 — edited Jun 11 2009I have a multi (7) column checkbox with form element attributes on my page:
onClick="refresh_reports_lov(this.value,this,$x('P507_SCHOOL'),$x('P507_YEAR'),'REFRESH_SIS_REPORTS_FILTER_LOV');toggle_items2(this.value,this)"
I am using Application process below to refresh the values, but when it fires it lists everything in 1 column and does not put in the 'On-Click'. How can you specify these things in the Application Process?
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<checkbox>');
FOR i IN (SELECT empno, ename
FROM emp
WHERE deptno = :selectlist_item_1
ORDER BY ename)
LOOP
HTP.prn ('<message>' || i.ename || '</message>');
HTP.prn ('<value>' || i.empno || '</value>');
END LOOP;
HTP.prn ('</checkbox>');
END;