README
Simple jquery plugin to check whether an dom attribute exists or not.
window.$ = require('jquery');
require('@ntdfx/jquery-hasattr').install()
$(()=>{
console.log( $('body').hasAttr('id') );
});
Simple jquery plugin to check whether an dom attribute exists or not.
<script type="module">
import ntdfxJqueryHasattr from 'https://cdn.skypack.dev/@ntdfx/jquery-hasattr';
</script>
Simple jquery plugin to check whether an dom attribute exists or not.
window.$ = require('jquery');
require('@ntdfx/jquery-hasattr').install()
$(()=>{
console.log( $('body').hasAttr('id') );
});