Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1028526 // hscript_clickableRows

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2649L/17K).

1  
sS hscript_clickableRows() {
2  
  ret hscript([[
3  
    jQuery(document).ready(function($) {
4  
      $(".clickable-row").click(function() {
5  
        window.location = $(this).data("href");
6  
      });
7  
    });
8  
  ]]);       
9  
}

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: #1028526
Snippet name: hscript_clickableRows
Eternal ID of this version: #1028526/1
Text MD5: 261b7587c09e39376e572da228103bd9
Transpilation MD5: 8a00ac789f8160dceb2f6004f2fe0e76
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-24 16:18:19
Source code size: 221 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 116 / 184
Referenced in: [show references]