Posted by Musachy Barroso <mu...@gmail.com>.
Soon we will be providing nice javascript functions to get the values, for
now:
var auto = dojo.widget.byId("auto");
//selected key
var key = auto.comboBoxSelectionValue.value;
//selected value
var value = auto.comboBoxValue.value;
//text entered by user
var text = auto.textInputNode.value
musachy
On 6/7/07, GEDA <ge...@romtelecom.ro> wrote:
>
>
> Please tell me how can I extract the selected value of an autocompleter
> (theme=simple) which rezides in a <s:div object ? Is there a way ? Thank
> you.
> --
> View this message in context:
> http://www.nabble.com/Extract-autocompleter-value-from-javascript%2C-when-autocompleter-is-in-a-%3Cs%3Adiv-object-tf3883593.html#a11007078
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd