[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 > > > > > I fou

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

2010-01-15 Thread Jon Banner
have a go with http://docs.jquery.com/Core/jQuery.noConflict 2010/1/15 j...@verax > I found the problem. > > Its the $ sign ! The $ sign has a very special meaning in the jQuery > framework. So if it is used in any other Javascript that doesnt use > jQuery, it will be incompatible. So this mean

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

2010-01-15 Thread j@verax
I found the problem. Its the $ sign ! The $ sign has a very special meaning in the jQuery framework. So if it is used in any other Javascript that doesnt use jQuery, it will be incompatible. So this means we should not use '$' in our code just because it looks cool ! Also, be very careful when yo

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

2010-01-14 Thread j@verax
The code as posted (template.jsp) is correctly extracted. Probably appears that way because of the text wrap. Its working code. On Jan 14, 6:21 pm, MorningZ wrote: > is that a straight dump of your code? > > if so, you don't have tags around your JavaScript after the > closing tag > > On

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

2010-01-14 Thread MorningZ
is that a straight dump of your code? if so, you don't have tags around your JavaScript after the closing tag On Jan 14, 5:24 pm, "j...@verax" wrote: > Hi jQuery guru, > > I have an application based on struts and tiles. Validation is done by > javascript at a g