mirror of
https://github.com/RGBCube/serenity
synced 2025-07-04 11:57:35 +00:00
LibWeb: Implement HTMLFormElement.requestSubmit()
This can be used to submit a form using a specific submit button.
This commit is contained in:
parent
94149db073
commit
816d24f647
5 changed files with 72 additions and 1 deletions
|
@ -65,6 +65,9 @@ public:
|
|||
// NOTE: This is for the JS bindings. Use submit_form instead.
|
||||
WebIDL::ExceptionOr<void> submit();
|
||||
|
||||
// NOTE: This is for the JS bindings. Use submit_form instead.
|
||||
WebIDL::ExceptionOr<void> request_submit(JS::GCPtr<Element> submitter);
|
||||
|
||||
// NOTE: This is for the JS bindings. Use submit_form instead.
|
||||
void reset();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue