updates
This commit is contained in:
parent
94c83e9e50
commit
cc5213b09e
79 changed files with 1341 additions and 357 deletions
|
@ -78,7 +78,7 @@ Please note, that it's possible to copy/paste not just text, but everything. For
|
|||
|
||||
There's a list of methods [in the specification](https://www.w3.org/TR/clipboard-apis/#dfn-datatransfer) that can work with different data types including files, read/write to the clipboard.
|
||||
|
||||
But please note that clipboard is a "global" OS-level thing. Most browsers allow read/write access to the clipboard only in the scope of certain user actions for the safety.
|
||||
But please note that clipboard is a "global" OS-level thing. Most browsers allow read/write access to the clipboard only in the scope of certain user actions for the safety, e.g. in `onclick` event handlers.
|
||||
|
||||
Also it's forbidden to generate "custom" clipboard events with `dispatchEvent` in all browsers except Firefox.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Form submission: event and method submit
|
||||
# Forms: event and method submit
|
||||
|
||||
The `submit` event triggers when the form is submitted, it is usually used to validate the form before sending it to the server or to abort the submission and process it in JavaScript.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue