I saw a lot of posts about my problem, but any of them worked for me.
I have this html table, I would get the values under cell (th) "Index". How can I use jquery to create this
<table id="htmlTable"> <caption>Informations des hotspots</caption> <thead> <tr> <th>Index</th> <th>Nom du hotspot</th> <th>Image du hotspot</th> </tr> </thead> <tbody> <tr id="0"> <td>0</td> <td>Hotspot Fribourg Centre</td> <td>../images/logos_hotspot/logo_wifi_centre.png</td> <td> <input type="button" value="supprimer" /> </td> </tr> <tr id="1"> <td>1</td> <td>Hotspot Avry Centre</td> <td>../images/logos_hotspot/logo_wifi_avry.png</td> <td> <input type="button" value="supprimer" /> </td> </tr> </tbody> </table>
source share