diff --git a/README.md b/README.md index 1bca9d4e..724dcb9d 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ By removing these arbitrary constraints htmx completes HTML as a ```html - + ') + btn.click(); + this.server.respond(); + btn.innerHTML.should.equal("Initial"); + }) + + it("can disable a parent elt", function(){ + this.server.respondWith("GET", "/test", "Clicked!"); + + var div = make('
') + var btn = byId("b1"); + btn.click(); + this.server.respond(); + btn.innerHTML.should.equal("Initial"); + }) + + +}); \ No newline at end of file diff --git a/www/test/1.3.3/test/index.html b/www/test/1.3.3/test/index.html index 0a71f109..1c87f939 100644 --- a/www/test/1.3.3/test/index.html +++ b/www/test/1.3.3/test/index.html @@ -85,6 +85,7 @@ +