Re: [whatwg/xhr] FormData & submitter[formaction] (Issue #381)

Ok, ok :)

In fact, actually, the idea behind to use them, as standalone, is to replace some anchors by some `button[formaction]`...
- to avoid any risks related to the page preview feature of some browsers (AFAIK like planned for Chrome)
- to have a "dynamic" variable sent to the server, based on the attributes (name & value), without to have something to manage it, even in GET/POST and/or in AJAX or not

And, really, I'm not convinced about the need of an extra form, trailing somewhere in the page to be able to send one of these buttons requests... moreover since it requires an id, "polluting" the `globalThis` for that... where these buttons can have anything we need to perform the requests.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/381#issuecomment-1721242253
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/xhr/issues/381/1721242253@github.com>

Received on Friday, 15 September 2023 12:59:03 UTC