js sux
This commit is contained in:
parent
b439795e04
commit
334ac0e4f2
@ -108,9 +108,9 @@ onready(function() {
|
|||||||
var data = new FormData();
|
var data = new FormData();
|
||||||
data.append("message", document.getElementById("comment").value);
|
data.append("message", document.getElementById("comment").value);
|
||||||
var inputs = form.getElementsByTagName("input");
|
var inputs = form.getElementsByTagName("input");
|
||||||
console.log(inputs);
|
|
||||||
for(var input in inputs)
|
for(var input in inputs)
|
||||||
{
|
{
|
||||||
|
console.log(input);
|
||||||
if(input.files)
|
if(input.files)
|
||||||
{
|
{
|
||||||
for (var file in input.files)
|
for (var file in input.files)
|
||||||
|
Reference in New Issue
Block a user