http://qs1969.pair.com?node_id=592701


in reply to Re: AJAX replacement for voting buttons
in thread AJAX replacement for voting buttons

TT elements are being stripped in an attempt to remove the existing ++ and -- text, but TT elements are also used for code tags.

It's just a question of fixing the XPath query. "//tt" needs to be replaced. I think "//div[@class='vote']//tt" will do the trick.

Replies are listed 'Best First'.
Re^3: AJAX replacement for voting buttons
by bsdz (Friar) on Jan 03, 2007 at 08:42 UTC
    Yes, I had started noting that peculiar behaviour. I have updated the script with your new XPath query. Thanks.