【问题标题】:how can i make jquery mobile not render part of the dom?我怎样才能让 jquery mobile 不呈现 dom 的一部分?
【发布时间】:2013-06-03 10:19:48
【问题描述】:

我需要使用 angularJS 禁用提交按钮和 innerText, 但是 jquerymobile 将输入标签包装在 div 中。 如果我不想要包装,或者我自己渲染,我该怎么做?

【问题讨论】:

  • 您能否发布您目前拥有的部分代码?

标签: html dom jquery-mobile angularjs


【解决方案1】:

使用

data-role="none" 

作为该按钮的属性。

还有其他几种方法,你可以找到它们herehere,随便找个话题:预防标记增强的方法

【讨论】:

  • 谢谢你的帮助,还有 $("#button").triger("create")
猜你喜欢
  • 2018-02-02
  • 2011-02-20
  • 1970-01-01
  • 2023-02-06
  • 2010-12-31
  • 1970-01-01
  • 2021-11-30
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多