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

4
LINES

< > BotCompany Repo | #1025997 - ahrefWithConfirm

JavaX fragment (include)

sS ahrefWithConfirm(S msg, S url, O contents, O... params) {
  ret ahref(url, contents,
    paramsPlus(params, onClick := "return confirm(" + jsQuote(msg) + ");"));
}

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz

No comments. add comment

Snippet ID: #1025997
Snippet name: ahrefWithConfirm
Eternal ID of this version: #1025997/1
Text MD5: 27dc36226f3e0382201ccd9a25b8b08a
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-06 13:49:17
Source code size: 169 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 43 / 65
Referenced in: [show references]

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