Libraryless. Click here for Pure Java version (28L/1K).
sS js_setRedirect() { ret "$('input[name=redirect]').val(window.location.toString());"; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030891 |
Snippet name: | js_setRedirect (in hidden field) |
Eternal ID of this version: | #1030891/1 |
Text MD5: | f44e6f40ea885a7a1379ac885786451f |
Transpilation MD5: | effe35c1d5a488544a8b2d48e7cabed8 |
Author: | stefan |
Category: | javax / web |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-06 14:29:11 |
Source code size: | 93 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 252 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030932 - js_addRedirectToAHref - adds "redirect" param back to current page. put in onclick of ahref. not tested |