I'am using the jquery-3.3.1.min.js version. In my code:
$(function (){
var div= $("#btn-space");
div.find("button:eq(0)")
.click(function(){
var activeElement=$("#action")
.find("div:first").attr();
}) ;
});
This the error I get in the console error
Typerror: e is undefined in
jquery-3.3.1.min.js :2:63533
I think is from the attr()
function.
We can see that in the librairy on Line 2: column 63533