Ebola57 Posted June 12, 2019 Posted June 12, 2019 (edited) Hi community I am intending to send text in an input box that lacks of both id and name (code below) <input class="form-control ng-pristine ng-valid ng-empty ng-touched" role="textbox" aria-invalid="false" type="text" ng-model="c.shortDescription"></input> Since then I have great difficulties to catch it I tried to catch it with "ng-model" directive (that is unique in my page), but I got a syntax error as autoit missunderstand this For $oTag In $oTags If $oTag.Ng-model = "c.shortDescription" Then ExitLoop Next _IEAction($oTag, "click") May you have some idea to catch this tag ? Regards Edited June 12, 2019 by Ebola57
Subz Posted June 12, 2019 Posted June 12, 2019 Try something like $oTag.getAttribute("ng-model") = "c.shortDescription" or $oTag.ClassName = "form-control ng-pristine ng-valid ng-empty ng-touched" Ebola57 1
Ebola57 Posted June 12, 2019 Author Posted June 12, 2019 $oTag.getAttribute("ng-model") = "c.shortDescription" Worked flawlessly $oTag.ClassName = "form-control ng-pristine ng-valid ng-empty ng-touched" Didn't work, anyway previous one fits my needs Thanks a lot
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