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)

static S hcheckbox(S name, bool checked, O... params) {
  ret tag("input", "", arrayPlus(params, "type", "checkbox", "name", name, checked ? "checked" : null, "1"));
}

static S hcheckbox(S name) {
  ret hcheckbox(name, false);
}

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, 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: 317 / 310
Version history: 4 change(s)
Referenced in: [show references]

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