Re: Updating Template Toolkit generated HTML content without page reload?
AF1 <AF1.ajuxjz-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Tue, 3 May 2022 16:28:19 +0000
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
mherger wrote: > From your question I understand you're not familiar with "AJAX" etc.? > Even less so with the framework we're using, ExtJS?... > > It would probably be easiest to look into your existing JS code, the one > > which triggers the pref change. I could probably point you at examples > of similar code in other places. I've used ajax before but not ExtJS I think. 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. 'Ratings Light FAQ' (https://github.com/AF-1/lms-ratingslight) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) '*other plugins*' (https://github.com/AF-1/all-repos-and-links) ------------------------------------------------------------------------ AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=116339 _______________________________________________ developers mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/developers