Hi, I’m wondering if there’s someone who could offer me some help on a small problem which I’ve been having.
My companies’ software uses an auto-complete feature on a lot of the fields where an option must be selected from the list to continue/populate information, example of which is below:
Now, depending on where I click on this drop down list the element added is either something like this:
And named ZyexStrongTag
Or something like this:
Named UiActiveMenuItemLink (where i've just clicked on the menu but not the company name)
The former will work fine enough for the company it’s intended for but I’m trying to write a more generic script that I can data bind to. However, I can’t data bind to a click action nor seem to find a way to re-target the element/action to just select any option that pops up on the auto-complete list as the element always seems bound to the text entered.
So i suppose what i'm asking is:
Is there a way to data bind to click actions? or;
How do i better target/identify my elements for these auto-complete drop-downs to be less text content specific?
I hope that makes sense and would really appreciate some guidance.
Thanks,
Adam