开发者

Adobe Air with HTML DOM

How do I use Adobe Air with HTML DOM?

"<input type="text" class="inputtext" name="myemail" id="email" tabindex="1">"

I tried

  1. document.getElementById('email').value = "111@domain.com";
  2. document.getElementById('myemail').value = "111@domain.com";

It doesn't work

ReferenceError: Error #1069: Property getElementById not f开发者_开发问答ound on Main and there is no default value.


Have you tried wrapping your javascript in:

$(document).ready(function () {
    //do stuff here
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜