notsure Posted October 22, 2010 Share Posted October 22, 2010 Hello, I'm experiencing some troubles with the IE.au3 UDF. The situation: I'm trying to get a specific value into a HTML-textbox but the Javascript is avoiding this to do this by _ieFormElementSetValue. This is the HTML code i'm talking about: <input onfocus="this.blur()" onclick="clearWishDate();" maxlength="10" value="" name="wishDate" type="text"> Is there any way to go around this blocking JAVAcode. I also cannot put the focus on this textbox element to type or send keys to it. So I was hoping somebody here has some experience using _IEDocInsertHTML or _IEHeadInsertEventScript which would make me able to fill the textbox. Normally its filled by clicking on a image which shows a calendar where i have to pick a date from. Unfortunately (as most of you IE.au3 scripters should know) Javascript and AUTOIT are not the best friends of eachother. _IEDocInsertHTML makes me able to put extra text before or after a HTMLtag but thats not what i need. I need to fill the VALUE inside a tag. Is there any way to do this? Any help would be greatly appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
notsure Posted October 22, 2010 Author Share Posted October 22, 2010 (edited) Nvm, got it. $oquery = _IeGetObjByName($frame, "wishDate") _IEDocInsertText($oquery, $wishdate, "afterbegin") Thx for reading anyway. Posted the solution for searchers on the forum. Topic can be closed. Edited October 22, 2010 by notsure Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now