警报消息后取消选中复选框 [英] Uncheck checkbox after alert message

查看:108
本文介绍了警报消息后取消选中复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我选择多个复选框它显示的是选择只有一个复选框"如果我点击该消息的OK按钮对应的复选框应该是未选中

I created dynamic action in oracle apex i.e when selecting more than one check box it displays that "to select only one checkbox" if i click ok button of this message the checkboxes should be unchecked

推荐答案

Valerio撰写的内容行之有效,但我想这与您一直在处理的apex.item有关.

What Valerio wrote would work, but I am guessing this is to do with the apex.item stuff you have been dealing with.

您将需要添加另一个通过单击确定按钮触发的DA.然后,您需要让DA运行Java代码.由于我看到您在询问如何运行javascript,因此在这种情况下,您需要进入动态操作的真实操作并将操作"设置为执行Javascript代码".(对于其他Javascript代码,您可以单击XX页:页在左侧的渲染"标签中,如果您向下滚动,则应该有一个Java脚本部分

You will need to add another DA that is triggered by clicking the ok button. Then you need to have the DA run Javascript code. Since I saw you were asking about how to run javascript, in this case you need to go into the true actions of the dynamic action and set the Action to Execute Javascript code.(For other Javascript code you can click on Page XX: Name of page in the Rendering tab on the left, and if you scroll down on the right there should be a section for Javascript)

您需要执行以取消选中的Javscript代码应该是$ s或类似的东西. https://apex.oracle.com/在这些基础上,pls/apex/germancommunities/apexcommunity/tipp/6341/index-en.html 是一个很好的起点.

And the Javscript code you need to execute to uncheck should be $s or something similair. https://apex.oracle.com/pls/apex/germancommunities/apexcommunity/tipp/6341/index-en.html is a good starting point on just these basics.

我实际上倾向于避免交互式报告,我更喜欢交互式网格.但是你做.如果您确实进入了交互式网格,建议您阅读以下内容: https://github. com/mgoricki/orclapex-ig-cheat-sheet

I actually tend to avoid interactive reports, I prefer Interactive Grids. But you do you. If you do get into Interactive grids I recommend you go through this: https://github.com/mgoricki/orclapex-ig-cheat-sheet

这篇关于警报消息后取消选中复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆