So, I am implementing a page on which words that have hints associated
in the DB are binded with the click event to show the Hint. Initially,
I go through and replace the words with html that goes <span
class="hint">word</span>

So, then I bind the hint class with the click event,
$(".hint").bind("mouseup",function(e)
{
        var clickElement = e.target;
        var clickText = $(clickElement).text();
        $.post('term.cfc?method=getTermDef&returnFormat=json',
{term:clickText},showHint,"json");
}
)

The problem is on IE 7, the first word that is binded, works fine for
the first click, but after that the click event for it is not
registered. For the rest of the words, the click event works fine.

On FF, everything works fine.

Any ideas on what could be wrong here?

Reply via email to