Igor Simic
2 years ago

problem: #javascript and #php file upload error:

"Missing boundary in multipart/form-data POST data"

solution:

                    // remove this line
xhr.setRequestHeader("Content-Type", "multipart/form-data");
                  

...it set by browser so you do not need it

Stefan Baden
2 years ago

nice list of handy #javascript tricks when working with arrays or objects... spread operator, filter unique array values, split text into array, combine / merge multiple objects into one object, combine / merge multiple arrays into one array, change object property value ....

Igor Simic
3 years ago

how to create chrome (no connection) dino game just by using #HTML #CSS and #JavaScript

Jason Miller
4 years ago

#JavaScript convert Array to String:

                    const numberArray = ["one", "two", "three", "four"];
const output = numberArray.toString();
// output: one,two,three,four
                  
Igor Simic
4 years ago
Vizenzo Caponera
4 years ago
Igor Simic
Edited 4 years ago