JSFiddle - React, Tailwind, and code Playground

by slawe

HTML

<table id="customersTable"></table>

JavaScript

$(document).ready(function(){
  if($('#customersTable').length){
		alert(1);
  }
});