Igor Simic
7 months 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
8 months 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
1 year ago

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

Jason Miller
2 years ago

#JavaScript convert Array to String:

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