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

7
LINES

< > BotCompany Repo | #1032336 // hnonamecheckbox - make HTML checkbox without name attr

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

Libraryless. Click here for Pure Java version (3430L/19K).

sS hnonamecheckbox(bool checked, O... _) {
  ret htag input("", paramsPlus(_, type := "checkbox", checked ? "checked" : null, "1"));
}

sS hnonamecheckbox() {
  ret hnonamecheckbox(false);
}

Author comment

Began life as a copy of #1003116

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032336
Snippet name: hnonamecheckbox - make HTML checkbox without name attr
Eternal ID of this version: #1032336/1
Text MD5: 05975221ff78349e9ef319aa8ac968ce
Transpilation MD5: 91047927fbe6775588e38ef5335b069e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-28 04:08:26
Source code size: 196 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 81 / 120
Referenced in: [show references]