diff options
Diffstat (limited to 'test/core/ajax.js')
-rw-r--r-- | test/core/ajax.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/core/ajax.js b/test/core/ajax.js index 00e677df..58603e85 100644 --- a/test/core/ajax.js +++ b/test/core/ajax.js @@ -1237,6 +1237,11 @@ describe("Core htmx AJAX Tests", function(){ }) it('properly handles inputs external to form', function () { + if (!supportsFormAttribute()) { + this._runnable.title += " - Skipped as IE11 doesn't support form attribute" + this.skip() + return + } var values; this.server.respondWith("Post", "/test", function (xhr) { values = getParameters(xhr); @@ -1287,6 +1292,11 @@ describe("Core htmx AJAX Tests", function(){ }) it("can associate submit buttons from outside a form with the current version of the form after swap", function(){ + if (!supportsFormAttribute()) { + this._runnable.title += " - Skipped as IE11 doesn't support form attribute" + this.skip() + return + } const template = '<form ' + 'id="hello" ' + 'hx-target="#hello" ' + |