Autocompleter onchange attribute

2008-06-10 Thread Craftyman
Hi, I'm using a s:autocompleter with a local list (No ajax use - Struts 2.0.9). The auto seach work fine but the onChange event doesn't run. Indeed, I want to submit myForm when the user select a right value (Ie a value present in my select). Here my configuration : I'm try the notifyTopic

Re: Autocompleter onchange attribute

2008-06-10 Thread Craftyman
I have any errors and i use the s:head theme="ajax"/> in my head section a the auto search work fine I juste want to add a onchange event whitch submit my form. Before usind the autocompleter tag i have : onchange="javascript:document.getElementById('myForm').submit;" doen't work with autoc

Re: Autocompleter onchange attribute

2008-06-10 Thread Laurie Harper
What do you mean by 'No ajax use'? s:autocomplete is an Ajax tag... Do you have in the head section of your page? Do you get any Javascript errors when you load the page, or when you interact with the autocompleter control? L. Craftyman wrote: Hi, I'm using a s:autocompleter with a local l

Re: Autocompleter onchange attribute

2008-06-12 Thread Craftyman
Anybody have any idea ? I'm just want to configure my s:autocompleter to allow to when a user select a new value to submit my form automatically Thanks. Cédric 2008/6/10 Craftyman <[EMAIL PROTECTED]>: > I have any errors and i use the s:head theme="ajax"/> in my head section a > the auto search