# Dhtml tooltip effect feds away after sorting data in table

**URL:** <https://www.ruby-forum.com/t/dhtml-tooltip-effect-feds-away-after-sorting-data-in-table/162635>\
**Category:** Ruby\
**Created:** [March 12, 2009, 8:30am UTC](https://www.ruby-forum.com/t/dhtml-tooltip-effect-feds-away-after-sorting-data-in-table/162635 "2009-03-12T08:30:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![radha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecb155/32.png) [@radha](https://www.ruby-forum.com/u/radha)\
**Post date:** [March 12, 2009, 8:30am UTC](https://www.ruby-forum.com/t/dhtml-tooltip-effect-feds-away-after-sorting-data-in-table/162635/1 "2009-03-12T08:30:25Z")

</div>

hello friends,

i am using tooltip.js library in my rails application to implement  
tooltip effect on table data.  
my table contains column ‘project’. but when i sort the contents of the  
column ‘project’ using sort\_key =\> column name i.e project, the  
onmouseover (tooltip)effect feds away.when i refresh the browser, the  
mouseover effect again continues.

i have used content tag for the same.  
content\_tag(‘table’, content\_tag(‘tr’,  
content\_tag(‘td’,content\_tag(‘p’,"#{project\_name}"),  
:onMousemove=\>“ddrivetip(’#{value}’)”, :onMouseout=\>“hideddrivetip()”)))

Is it a javascript loading problem…!!!

does anyone hv any suggestions for this. m in hurry.
