mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-24 07:28:40 +00:00
pass button value in forms
This commit is contained in:
parent
c15a1573a2
commit
727fee799a
|
|
@ -153,6 +153,7 @@
|
|||
const selects = form.getElementsByTagName('select'),
|
||||
textareas = form.getElementsByTagName('textarea'),
|
||||
inputs = [].slice.call(form.getElementsByTagName('input')),
|
||||
buttons = form.getElementsByTagName('button'),
|
||||
canvas = form.getElementsByTagName('canvas'),
|
||||
external = document.querySelectorAll('[form=' + this.id + ']'),
|
||||
inputLength = inputs.length;
|
||||
|
|
@ -169,6 +170,7 @@
|
|||
Array.prototype.slice.call(inputs).concat(
|
||||
Array.prototype.slice.call(selects),
|
||||
Array.prototype.slice.call(textareas),
|
||||
Array.prototype.slice.call(buttons),
|
||||
Array.prototype.slice.call(external)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user