I have a table that is created in a view like this (only the pertinent parts are shown):
{% for row in page.object_list %} <tr> {% if forloop.first %} {% for value in row %} {% if forloop.first %} <td> {{ value }} <input type="text" id="filterValue" name="filterValue" size=20</td> {% else %} <td>{{ value }}</td> {% endfor %} {% else % } {% endif %} </tr> {% endfor %} There are buttons on the page that cause the page to be regenerated. When that happens the text that the user may have entered in the filterValue field is lost. Is there some way (perhaps with javascript) that I can save that value and then initialize the field to it within the above code? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.