I have a template...
I want to update a single field in each row using AJAX and a "feed" so that I can refesh the value of "STATUS" from the database without the user having to refresh the entire page. (cant use ajax for full listing as need the links and edit facility in each row)
I have created dynamic IDs on the elements I need to read from and write to.
I have managed to create a function that iterates through the list and using alerts at the moment, shows me the read from element and the write to element.
I can also get the AJAX feed to seperately write to a fixed <td> by "id".
I am struggling to understand how I can join the two functions so that the first function gets the SID and the write to ID and then passes this to the AJAX Fuction which will write the value selected using the "SID" to the <td> defined by the "id" as provided by the first function.
As The first function is iterative (due to there being N rows in the list) I need the AJAX to read then write to each <td> in the list based upon its "id" (e.g. update status for all items in list based upon value returned from database)
I hope this rambling idiot makes sense in what I'm trying to achieve. Any help would be greatly appreciated.
This is the code I have so far:
http://dnndev.com/fiddle/fid/648