Is there a way to change the background of a form and its results after submitting the form? I need to switch the image background to a plain color.
I attempted to use a solution I found, but it doesn't seem to be working as expected. You can view my attempt here: JSFiddle Attempt
For reference, you can check out another JSFiddle link here: JSFiddle Link
<form action="" method="post" name="locator">
<div class="locator-div">
<select name="locator1_list" id="filterby">
<option name="default" class="filter_by" value="Select by">Select by</option>
</select>
</div>
<span class="or">or</span>
<div class="locator-div">
<select name="locator1_list" id="filterby">
<option name="default" class="filter_by" value="Select by">Select by</option>
</select>
</div>
<input type="submit" value="List all locations" class="location-submit">
</form>
<div class="records"><div><span class="icons-tabbed-store icon-icon-stores"> Location 1</span></div></div>