Re: Updating Template Toolkit generated HTML content without page reload?
Michael Herger <slim-b/[email protected]> Wed, 4 May 2022 16:12:06 +0200
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Message-ID | <[email protected]> |
> The html page (with the JS code) is 'here' > (https://github.com/AF-1/lms-visualstatistics/blob/main/VisualStatistics/HTML/EN/plugins/VisualStatistics/html/list.html). > If you select a different virtual library at the top, it'll set the pref > value to the VL id (needed for the SQLite queries) and -reload- the page > to -update the genre + decade list- - which is what I'd like to change, > if possible. Ok, I guess that you need to replace the window.location.href instrucation around line 1122 with the code to update your page. What element on that page did you want to update?