Call MULTI_ROW_DELETE demand via Javascript/jQuery in Apex
Hello guys!
I'm glad to have joined the forum and am really curious if you can help me out on a problem that I wasn't able to fix. I am working with Oracle Apex and have some jQuery (Javascript) code to show a div tag when I hit a button. The respective DIV is a dialog including 2 buttons (delete and cancel). While the cancel button is working I have trouble with the delete button! There I want to call the Apex command for carrying out a deletion of checked record in an updatable report! The command referencing the delete procedure in Apex is "MULTI_ROW_DELETE".
If you could help me on this one I'd be really happy!
Please considder that I'm a newbie to jQuery and Javascript and may need some more explanations.
Best regards,
Sebastian
-
<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load('jquery', '1.3.2');
google.load('jqueryui', '1.7.2');
</script>
<script type="text/javascript">
$(function()
{
$("#dialog").dialog({
autoOpen: false,
bgiframe: true,
modal: true,
buttons:
{Delete: function() {$(this).dialog('????????????');$(this).dialog('close');
},
Close: function() {$(this).dialog('close'); }}
});
});
</script>
<div id="dialog" title="Are you sure???">
<p>
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 30px 0;"></span>Do you really want to delete the dataset?</p>
</div>