I have a JavaScript component in my application that handles infinite scroll pagination, and i’m trying to rewrite it to use the IntersectionObserver, as described here, however I’m having issues in testing it. Is there a way to drive the behavior of the observer in a QUnit test, i.e. to trigger t…
Tag: qunit
How can i get data from FormData in javascript?
I need to read data from FormData? I try to read something like someFormatData[“valueName”] but it not working. options[“fileId”] or options[“file”] does not work. Also I try options.fileId same result: Answer If you take your FormData object you can use a few different met…