【问题标题】:Titanium webview setHtml html link variabl "not found" in androidTitanium webview setHtml html链接变量在android中“未找到”
【发布时间】:2013-11-25 22:03:26
【问题描述】:

Titanium webview setHtml html 链接变量在 android 中“未找到”

我有一个简单的网页视图代码

webView.setHtml('<div id="framecontent"><iframe src="jq/single.html?rid=4&sid=3" width="100%" height="100%" frameborder=0></iframe></div>');

我使用 i 帧,所以我可以通过 url 传递数据

在 iOS 上运行良好

但在 android 中它显示“未找到消息”它在它的位置找不到它,当我删除这个 ?rid=4&amp;sid=3 它加载了

【问题讨论】:

    标签: webview titanium


    【解决方案1】:

    尝试使用前导斜杠:/jq/single.html...

    我也遇到过这样的问题,发现在 Android 上需要一个前导斜杠。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-06-18
      • 2015-02-20
      • 2012-09-24
      • 1970-01-01
      • 1970-01-01
      • 2011-05-19
      • 2019-07-21
      • 2012-07-16
      相关资源
      最近更新 更多