开发者

Adobe Air with HTML DOM

开发者 https://www.devze.com 2023-01-11 13:20 出处:网络
How do I use Adobe Air with HTML DOM? \"<input type=\"text\" class=\"inputtext\" name=\"myemail\" id=\"email\" tabindex=\"1\">\"

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

精彩评论

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

关注公众号