$( document ).ready(function() { var pathname = window.location.pathname; if(pathname==="/front/computer.php"){ console.log( pathname ); $("table[id^=search_] thead tr").append('