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

7
LINES

< > BotCompany Repo | #1003116 - hcheckbox - make HTML checkbox

JavaX fragment (include)

1  
static S hcheckbox(S name, bool checked, O... params) {
2  
  ret tag("input", "", arrayPlus(params, "type", "checkbox", "name", name, checked ? "checked" : null, "1"));
3  
}
4  
5  
static S hcheckbox(S name) {
6  
  ret hcheckbox(name, false);
7  
}

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1003116
Snippet name: hcheckbox - make HTML checkbox
Eternal ID of this version: #1003116/5
Text MD5: 2a1075238ef3111f8bdd3a38eee5f168
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-15 14:57:11
Source code size: 235 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 349
Version history: 4 change(s)
Referenced in: [show references]

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