代码之家  ›  专栏  ›  技术社区  ›  Julian de Wit

如何引用pocket ie中javascript的div?

  •  0
  • Julian de Wit  · 技术社区  · 17 年前

    你好,我正在开发一个袖珍ie网站。 我正在用pocket ie运行pocket PC 2003 SE仿真器。

    我有一个脚本,想从javascript中引用它。

    getElementById document.getElementsByTagName 不要工作。 在一个例子中,我看到 document.all[] 甚至 xx.id 但这一切都不起作用。

    2 回复  |  直到 15 年前
        1
  •  2
  •   Julian de Wit    17 年前

    结果是。。

    document.[id of the div]
    

    因此: <div id="xx"> => document.xx

        2
  •  1
  •   Dror Big McLargeHuge    17 年前

    你可以从 here 看看这类设备的确切支持情况。

    在他们提到的Web开发部分下 For more information, see Designing Web Sites for Mobile Devices.

    从…起 this 页面:您的选项看起来很糟糕…:-(