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).

sS hscript_clickableRows() {
  ret hscript([[
    jQuery(document).ready(function($) {
      $(".clickable-row").click(function() {
        window.location = $(this).data("href");
      });
    });
  ]]);       
}

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, 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: 32 / 63
Referenced in: [show references]

Formerly at http://tinybrain.de/1028526 & http://1028526.tinybrain.de