ITeye博客

Cognos HTML项目代码

18289753290 · 2015-08-08 22:28 · Cognos应用 · Markdown

使用“HTML项目”组件可以去除下拉列表中的“-------------------”,基本上是用在有下拉列表的地方.

<script type="text/javascript">

var form = getFormWarpRequest();

var listB = form._oLstChoicesp_month;

listB.options[0].text = "统计日期";

listB.remove(1);//不选“--------”

listB.removeAttribute(0);//不选参数

listB.removeAttribute("hasLabel");//默认值不选

</script>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。