Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: AJAX replacement for voting buttons

by ikegami (Patriarch)
on Jan 03, 2007 at 04:53 UTC ( #592701=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://592701]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-08-17 16:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?