I was trying to read data from a txt file that can be choosen from an input type file and get stored info in an html content passing them trough an array. There already are a lot of articles about that but no one really seems to fit at my case but following – which ..
after months of searching examples and anwers , I can’t find anything that works for me. All help is welcome. System — Wocommerce — Single product page. I bought an addon to attach one image when your’re on <form class="cart">. This is in single product page. Basically the plugin adds a <input type ="file"> in ..
Is there any way to add an items property to an input element? I have this so far: var input = document.getElementById(“input”); input.items = “asdf”; console.log(input.items); <input type=”file” multiple id=”input”> But what I need is to be able to set items to a function like you find in new DataTransfer(). Like this: var data = ..