Hello,
I have a dynamic action to execute PL/SQL code for a save button, then after that another dynamic action to set one of page item value to null , then refresh the page. somehow I can't set value to that page item successfully. Say, I tried to assign the value within PL/SQL code (seems I can only do it in pre-rendering stage), I tried to call javascript function to set value, none of them works. Anyone has other solution? Thanks very much.
And here is the simple javascript function:
function setItemV(){
var v_item = null;
$x('P6_MASTER_CONTACT_ID_2').value=v_item;
}
I also tried this, which didn't work either:
javascript:apex.submit({request:'TEST',set:{'P6_MASTER_CONTACT_ID_2':null}});
Page item 'P6_MASTER_CONTACT_ID_2' is hidden and unprotected.
Regards,
Jian