Django dynamic HTML table refresh with AJAX

前端 未结 1 1380
遇见更好的自我
遇见更好的自我 2020-12-19 22:49

First of all, I am new with Django, and pretty much completely unfamiliar with AJAX and jQuery. I am developing locally.

So I\'m trying to achieve a

相关标签:
1条回答
  • 2020-12-19 23:06

    Thank you so much @DanielRoseman. "Your JS is sending the value as append_increment but the Python is trying to access increment. – "

    I changed the line in question to increment = int(request.GET.get('append_increment')) and it fixed the error, and now the table is dynamically updating. Thank you so much for spending your valuable time. Now I can keep building the app!

    0 讨论(0)
提交回复
热议问题