powerful-helmet-42757
03/02/2023, 7:32 PMhx-disable
(after the DOM has loaded) has no effect as well.powerful-helmet-42757
03/02/2023, 7:32 PMmysterious-toddler-20573
03/02/2023, 7:47 PMhtmx.process()
on the node should re-init itpowerful-helmet-42757
03/02/2023, 7:50 PMpowerful-helmet-42757
03/02/2023, 9:05 PMmysterious-toddler-20573
03/02/2023, 9:47 PMlate-king-98305
03/02/2023, 10:31 PMnarrow-shoe-86904
03/02/2023, 11:13 PMadventurous-ocean-93733
03/02/2023, 11:16 PMhx-include= "#CardSettings [type='input']"
Or give all your inputs a class of e.g. .includeinput
and then use that css selectorbig-airline-13935
03/02/2023, 11:16 PMadventurous-ocean-93733
03/02/2023, 11:18 PMhx-include="#CardSettings"
Since this page:
https://htmx.org/attributes/hx-include/
Says:
> Note that if you include a non-input element, all input elements enclosed in that element will be included.narrow-shoe-86904
03/02/2023, 11:25 PMmysterious-toddler-20573
03/02/2023, 11:59 PMmysterious-toddler-20573
03/02/2023, 11:59 PMmysterious-toddler-20573
03/02/2023, 11:59 PMrefined-waiter-90422
03/03/2023, 3:40 AMrefined-waiter-90422
03/03/2023, 3:41 AMcuddly-keyboard-70746
03/03/2023, 1:25 PMcuddly-keyboard-70746
03/03/2023, 1:25 PMflat-vase-53984
03/03/2023, 2:12 PMlimited-teacher-83117
03/03/2023, 5:28 PMincalculable-table-59550
03/04/2023, 4:23 PMbitter-carpet-58319
03/04/2023, 4:29 PM<input id="new_area" type="file" name="mapfile" hx-put="cgi-bin/upload.pl/map.png">
bitter-carpet-58319
03/04/2023, 4:49 PMcurl.exe -u "user:passwd" -T "c:\work\map.png" "map.png"
late-king-98305
03/04/2023, 4:58 PMhx-put
. You can either force a page refresh when it's done (i.e., a non-htmx request), or handle it via your own JavaScript.ripe-action-67367
03/04/2023, 5:01 PMmultipart/form-data
ripe-action-67367
03/04/2023, 5:01 PMhtml
<input id="new_area" type="file" name="mapfile" hx-encoding="multipart/form-data" hx-put="https://httpbin.org/put">
ripe-action-67367
03/04/2023, 5:02 PMbitter-carpet-58319
03/04/2023, 5:07 PMcurl.exe -T
doing, do not know if this is called 'raw file'colossal-engine-30767
03/04/2023, 7:54 PM