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

11
LINES

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

JavaX fragment (include)

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

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

sS hcheckbox(S name, S text) {
  ret hcheckboxWithText(name, text);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003116
Snippet name: hcheckbox - make HTML checkbox
Eternal ID of this version: #1003116/7
Text MD5: b1b76599b85a4cd1a1d1cfbc0d162df3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-13 17:20:32
Source code size: 296 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 560 / 605
Version history: 6 change(s)
Referenced in: [show references]