Dear Rick,
I use WC 5.62 I am trying to use autocomplete textbox, I added the control
the script
and the function in prg
The cursor qRicerca returns the right string, but the label lblDesCliente get no text.
Please what is wrong?
How to debug and fix it?
Thank you very much for support``
I don't recall how this works, but I think you want to assign the value of hte list:
var selection = $$("lstCliente").val();
I don't recall how jQUery UI works to get the value, but pretty sure .label
is not right. It'll be .value
or .selectedValue
or something like that. Set a breakpoint in your script and see what the ui
parameter has in it and based on that get the selected value.
You can assign that to the text.
The auto-complete control has long been deprecated (even prior to the Web Control Framework being deprecated) so I can't offer much help with it at this point.
+++ Rick ---