Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Ajax cache problem

Hi, I'm having an issue using the cache: false option with ajax.

The tip is created like this:

Tipped.create('.user', { ajax: { url: "/user/info" }, skin: 'custom-1', hook: 'leftmiddle', tooltip: 'leftmiddle', cache: false})

/users/info returns a HTML string and it displays correctly in the tip.

However the ajax URL is only loaded on the first hover. On subsequent hovers no ajax request is made, so the data shown in the tip is also outdated. On reload and first hover again it works well. So it seems that the cache: false option has no effect.

Any suggestions?

Thanks
Christian

Comments

Sign In or Register to comment.