Re: [jQuery] Re: Can Tooltip return a jsp page?

2009-12-20 Thread brian
On Sun, Dec 20, 2009 at 1:15 AM, HenryRock wrote: > Hi Brian, > > I get this > >  return ""; > > How come? > How to fix that? Like I said, your file is not being parsed correctly. JSP is a server-side technology. Any JSP code must be evaluated on the server. If you're seeing JSP code in the page

[jQuery] Re: Can Tooltip return a jsp page?

2009-12-19 Thread HenryRock
Hi Brian, I get this return ""; How come? How to fix that? Thanks On Dec 20, 11:58 am, brian wrote: > With the JSP include in place, when you view source and look at the > javascript block, do you see: > >        return " > BlueWater > RedFire > GreenTree > WhiteCloud > "; > > ... or do you

Re: [jQuery] Re: Can Tooltip return a jsp page?

2009-12-19 Thread brian
With the JSP include in place, when you view source and look at the javascript block, do you see: return " BlueWater RedFire GreenTree WhiteCloud "; ... or do you see: return "" If the latter, then your file is not being parsed correctly *on the server* and this is not a jQuery is

[jQuery] Re: Can Tooltip return a jsp page?

2009-12-19 Thread HenryRock
It work if I code it as below: $('#tonus').tooltip({ delay: 0, showURL: false, bodyHandler: function() { return " BlueWater RedFire GreenTree WhiteCloud "; } }); I not sure why when I code it as $('#tonus').tooltip({ delay: 0, showURL: false, bodyHandler: func