[jQuery] Autocomplete selection blanks out input field

2010-01-11 Thread j@verax
Hi, I have been using the jquery autocomplete plug-in for some time now and find it very useful. Lately I have come across the following problem in one of my JSP pages. The autocomplete suggestions are displayed and formatted properly. But when I select the one that I want, the result briefly app

[jQuery] Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread j@verax
Hi jQuery guru, I have an application based on struts and tiles. Validation is done by javascript at a global level. When I include my autocomplete code in my JSP page, the validation (checkValidation()) malfunctions with a javascript error - "Object does not support this property or method" at t

[jQuery] Re: Autocomplete selection blanks out input field

2010-01-14 Thread j@verax
mitted to your ajax request and come back > with a hit.  If a match is not found the the text's input field will > be cleared. > > On Jan 11, 2:58 pm, "j...@verax" wrote: > > > > > Hi, > > > I have been using the jquery autocomplete plug-in for so

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread j@verax
osing </html> tag > > On Jan 14, 5:24 pm, "j...@verax" <joti.bis...@gmail.com> wrote: > > > > > Hi jQuery guru, > > > I have an application based on struts and tiles. Validation is done by > > javascript at a global level. > > When I

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-15 Thread j@verax
reful when you copy javascript plug-ins from the internet if you are already using javascript frameworks. They will most likely create an incompatibility. I have to now do either of the following: a) re-write all my javascript code to use jQuery b) write my own autocomplete javascript. On Jan 14, 5

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-15 Thread j@verax
Thanks, Jon, I tried out the technique described in the link that you provided and it worked very well. Thank you for saving much of my time and effort. On Jan 15, 11:19 am, Jon Banner wrote: > have a go withhttp://docs.jquery.com/Core/jQuery.noConflict > > 2010/1/15 j...@verax &g