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: | 642 / 695 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028495 - hcheckboxWithText - make HTML checkbox with clickable text label #1032336 - hnonamecheckbox - make HTML checkbox without name attr #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |