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

3
LINES

< > BotCompany Repo | #1022003 - hbuttonOnClick_returnFalse - make <button> tag with onClick, add "; return false;"

JavaX fragment (include)

static S hbuttonOnClick_returnFalse(S text, S onClick, O... params) {
  ret hfulltag("button", text, paramsPlus(params, onclick := addSuffix(trim(onClick), ";") + " return false;"));
}

Author comment

Began life as a copy of #1018945

download  show line numbers  debug dex   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1022003
Snippet name: hbuttonOnClick_returnFalse - make <button> tag with onClick, add "; return false;"
Eternal ID of this version: #1022003/5
Text MD5: fd4218572dd0b2c6bd13e9dbf301772e
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-18 21:56:04
Source code size: 186 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 107 / 125
Version history: 4 change(s)
Referenced in: [show references]

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