Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Jackie Jen
2,723 Pointshow to update a column data in ajax
Let said I have a table look like below
<table>
<tr>
<th>column1</th>
<th>column2</th>
<th>column3</th>
<tr>
<tr>
<td>test1</td>
<td>try1</td>
<td>figure1</td>
</tr>
<tr>
<td>test2</td>
<td>try2</td>
<td>figure2</td>
</tr>
<tr>
<td>test3</td>
<td>try2</td>
<td>figure3</td>
</tr>
</table>
How can i using ajax to update all the data in column of "column3" let said my column3 of all <td> will have data like testing1, testing2, testing3. i don't wan assign each <td> have an unique id Please advice
1 Answer
thomascawthorn
22,986 PointsHave you seen the AJAX course? If you have and still need help, let us know :-)
Jackie Jen
2,723 PointsJackie Jen
2,723 PointsHi Tom,
yes, i have go through the AJAX course and i know how ajax works. Is just i did not have an idea to use ajax to update all the rows of last column of table.
Regards