Add class name
-
Hi there,
How can I add new class name to the
<div class=”results_entry” name=”results_entry” id=”sidebar_div_0″><center><table class=”searchResultsTable”>
I tried to add a class name but it doesn’t read my custom JS code. It works on the other tags except to
<div class=”results_entry” name=”results_entry” id=”sidebar_div_0″><center><table class=”searchResultsTable”>
Here’s my code:
jQuery(function($){
$(‘#sl_div, #searchForm, #sl_div table, #sl_div table tbody, #sl_div tr, #sl_div td, #map_sidebar, .results_entry, div#sidebar_div_0’).addClass(“TEST”)
});Here’s the site
– https://islandpacificmarket.com/stores/Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add class name’ is closed to new replies.