Jump to content

Update table cells via prototype


JD*

Recommended Posts

I'm trying to set up a page that will use the prototype ajax.updater to update table cells. This is for an election, so I have a gird that has the candidate names across the top and the polling district along the side. What I'd like is for this page to watch another page, which will query my db every x seconds and pull the results. Then, if there is a change, have the first page see that change and update the appropriate table cell (possibly with the effect.highlight).

 

I have the table set up, and every cell has an id of the location_candidate (numerical ids) and I was following a tutorial on making a digg spy clone, but I got a little lost, so if anyone can help me on the way, I would much appreciate it.

Link to comment
https://forums.phpfreaks.com/topic/101110-update-table-cells-via-prototype/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.