[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

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 joti.bis...@gmail.com 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

[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 banali...@googlemail.com wrote: have a go withhttp://docs.jquery.com/Core/jQuery.noConflict 2010/1/15

[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 script tags around your JavaScript after the closing /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

[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 morni...@gmail.com wrote: is that a straight dump of your code? if so, you don't have script tags around your JavaScript after the