// not working? sS hscript_reloadOnHistoryNav() { ret hscript([[ jQuery( document ).ready(function( $ ) { $(window).on('popstate', function() { location.reload(true); }); }); ]]); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028662 |
Snippet name: | hscript_reloadOnHistoryNav - reload page on browser back/forward. requires JQuery |
Eternal ID of this version: | #1028662/3 |
Text MD5: | 7849aaaca9781db7abe856028ae95e6c |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-02 15:26:18 |
Source code size: | 222 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 170 / 202 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |