I have 2 ajax calls, both using the same div with id="result". The first ajax call displays Google maps and the second ajax call retrieves data from my database.
Initially, without any ajax calls, the div looks like this:
<div id="result">
Then, after the first ajax call for Google maps, the div changes to:
<div id="result" style="background-color: rgb(229, 227, 223); overflow: hidden;">
Note* - Google maps automatically adds the above attributes.
Subsequently, when the second ajax call is made, the style attribute remains unchanged:
<div id="result" style="background-color: rgb(229, 227, 223); overflow: hidden;">
How can I reset the result div to its default state and display the desired result?