Sign in to follow this  
Followers 0
NewPlaza

jQuery and autocomplete

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Sorry, I was confused without a test site, visual code being used, or any reference to autoit code even lol.

1 person likes this

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.

Share this post


Link to post
Share on other sites

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....

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0