how to let class of an <i> tag not change when the page reloads – Jquery ajax
i created an ajax favorite button where when a user clicks the heart button the information gets sent to the server without reload and the heart shape becomes filled with red using javascript(exactly like instagram heart button ). now i…