Wow,
You're right that we don't have a method create_confirm_callback_href_js.
You have to know that confirmation in JS box will not be directly transferred to the PHP code. It requires callback method. In such situation my suggestion is to create other screen that will show confirmation message.
function body() {
print "Are you sure?";
$href = $this->create_callback_href(array($this, 'action_method'));
print "<a $href>Yes</a>";
}
function action_method() {
// make some action
return true; // to stay in this function
}
Of course it's better to use some template to not mix PHP with html.
Other working example would be create some confirm callback href, and use jquery to "click" this button/link. You can even hide this button.
Regards,
Adam