vendredi 22 juillet 2016

List.js - Using input fields instead of td, h3, p values

On the List.js site they clearly list how to use tables and even provide an example: http://ift.tt/2a2mVH3...

<tr>
    <td class="name">Jonny Stromberg</td>
    <td class="born">1986</td>
</tr>

However, I want to use input values instead...

<tr>
    <input class="name" value="Jonny Stromberg">
    <input class="born" value="1986">
</tr>

The outcome is unexpected with the input values rending as empty. However, the ultimate goal is to give the input values names and save the columns/rows in a session.

Anyone been in the same boat?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire