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

3
LINES

< > BotCompany Repo | #1029926 // hbuttonLink - <button> acting like a link

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

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

sS hbuttonLink(S url, S text, O... params) {
  ret hbuttonOnClick(text, "location.href=" + jsQuote(url) + ";", params);
}

Author comment

Began life as a copy of #1028689

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1029926
Snippet name: hbuttonLink - <button> acting like a link
Eternal ID of this version: #1029926/1
Text MD5: 90085e1c45eeecbb4e43a1b95ff5ad69
Transpilation MD5: a05853e338074c7152070d7ce496912b
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-07 17:58:08
Source code size: 123 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 118 / 178
Referenced in: [show references]