【问题标题】:Remove the element of jsni through ui binder html panel通过ui binder html panel移除jsni的元素
【发布时间】:2014-04-02 12:03:13
【问题描述】:

如何从 html 面板中移除元素。

我使用了 htmlgetElementById(id);获取 jsni 元素的 id。

但我仍然无法删除它。

我该怎么做?

【问题讨论】:

  • 如果你能回答我的问题而不是检查我的语法错误,那就太好了。还是谢谢。
  • 你有什么错误吗??

标签: javascript uibinder


【解决方案1】:

我已经完成了这项工作。

先设置要删除的表单的id。

inndiv.id=id;

元素 el=html.getElementById(Integer.toString(id)); el.removeFromParent();

【讨论】:

    猜你喜欢
    • 2020-12-12
    • 1970-01-01
    • 2010-11-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-14
    • 2022-08-02
    相关资源
    最近更新 更多