Hello there is a way to get data from html table like this

{% extends "base.html" %}
{% load static %}
{% block content %}
<form action="/nuovo_matr/" method="post"> {% csrf_token %}<button 
type="submit">Nuovo</button></form>
<form action="/cerca_mat" method="post"> {% csrf_token %}<button 
type="submit">Cerca</button></form>
<div id= "taba">
    <table>
        <tr class="prima">
            <th>ID</th> <th><a href="/ordina/matricola">Matricola</th> 
<th><a href="/ordina/descrizione">Descrizione</th> <th><a 
href="/ordina/disegno">Disegno</th> <th><a href="/ordina/peso">Peso in 
Kg</th><th><a href="/ordina/codiceforn">Matricola Fornitore</th>
            <th><a href="/ordina/qta">Quantità</th><th><a 
href="/ordina/prezzo">Prezzo</th>
            
        </tr>
        
        {% for dati in tutti %}
                <tr class={% cycle 'odd' 'even' %}>
            <td>{{ dati.idmateriale }}</td> <td>{{ dati.matricola }}</td> 
<td>{{ dati.descrizione }}</td> <td><a href="/scarica_disegno/{{ 
dati.disegno }}">{{ dati.disegno }}</td> <td>{{ dati.peso }}</td><td>{{ 
dati.codiceforn }}</td>
            <td contenteditable='true' name="qta"></td><td 
contenteditable='true' name="prezzo"></td>
            </tr>
        {% endfor %}
    </table> 
    {{ frase  }}
    <form action="/crea_rfq_auto" method="post"> {% csrf_token %}<button 
type="submit">Crea RFQ</button></form></td>
</div>
{% endblock %}

how i can access to the cell data?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e879abfa-55b8-4158-a053-de45617419a8%40googlegroups.com.

Reply via email to