NewPlaza Posted December 25, 2014 Posted December 25, 2014 Hello, I can not figure out how to select an item from a autocomplete box. The funny thing is I can read all the values from the autocomplete. $jQuery('.Suggestion').text() - Reads autocomplete suggestions...... I just don't know how to select the first item in the list. Any help would be great. Using (automating from) jquery-1.7.2 and jquery-ui-1.10.4.custom.
Moderators SmOke_N Posted December 25, 2014 Moderators Posted December 25, 2014 On 12/25/2014 at 5:54 AM, NewPlaza said: Hello, I can not figure out how to select an item from a autocomplete box. The funny thing is I can read all the values from the autocomplete. $jQuery('.Suggestion').text() - Reads autocomplete suggestions...... I just don't know how to select the first item in the list. Any help would be great. Using (automating from) jquery-1.7.2 and jquery-ui-1.10.4.custom. Did you post in the wrong forum? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
NewPlaza Posted December 25, 2014 Author Posted December 25, 2014 LOL! Not at all. My script interacts with a page from our local network and uses jquery. I've been very successful in interacting with the loaded jquery and manipulating almost all needed information (pausing while jquery is processing, read/set values/text from drop down controls, submit button clicks, etc...) I have managed to control just about everything I need... All but the autocomplete selection box.
Moderators SmOke_N Posted December 25, 2014 Moderators Posted December 25, 2014 Sorry, I was confused without a test site, visual code being used, or any reference to autoit code even lol. Jfish 1 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
NewPlaza Posted December 26, 2014 Author Posted December 26, 2014 SmOke_N. I have been really successful in manipulating jquery with one liners like these... $oIE.document.parentWindow.jQuery('.Name').text() $oIE.document.parentWindow.jQuery('[name=fldName]').val($Name).focus().keydown().keyup() $oIE.document.parentWindow.jQuery('.btnNumber').click().ready() $oIE.document.parentWindow.jQuery('.ResultLoading').is(':visible') $oIE.document.parentWindow.jQuery('select[name=Oss]').val('243').change() $oIE.document.parentWindow.jQuery('.btnAll').click().ready() It just that autocomplete I can't get. I just don't know the commands....
NewPlaza Posted January 6, 2015 Author Posted January 6, 2015 Hello all, I'm revisiting the post in hopes someone may be able to help. I still have problems interacting with the jquery AUTOCOMPLETE LIST.
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