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
- document.getElementById('email').value = "111@domain.com";
- 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
});
精彩评论