I am currently using a background for several divs, each with a number from 01 to 10. The current code is as follows:
background: url('assets/bg_01.jpg');
Now, I am looking to change the URL in jQuery when a button is clicked to display bg_01_active.jpg
, and so on. Is it feasible to append a variable to the URL, or would I need to manually set it for each individual div?