JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>
var getElementsByTagName = document.getElementsByTagName;
document.getElementsByTagName = function() {
alert('getElementsByTagName called: ' + Array.prototype.slice.call(arguments));
return getElementsByTagName.apply(this, arguments);
}
var getElementById = document.getElementById;
document.getElementById = function() {
alert('getElementById called: ' + Array.prototype.slice.call(arguments));
return getElementById.apply(this, arguments);
}
$(function() {
$('#id1, #id2, #id3').hide();
});
</script>
</head>
<body>
<div id="id1">id1</div>
<div id="id2">id2</div>
<div id="id3">id3</div>
</body>
</html>