title: Change font awesome Icon colour on success of post
body: <p>I am wanting to change the icon color of fa heart to red or the green as follows 
  I attempted to use the following but its still staying the green color on the screen does anbyody have any ideas if I am attempting the correct approach.</p>
  
  <p>Green Color Not Favouried : 007c7a<br>
  Pink Color Favouried : f7296a</p>
  
  <blockquote>
    <p>$(".btnRemoveFave").find('.fa-heart').css('color', '#007c7a');</p>
  </blockquote>
  
  <pre><code>&lt;script&gt;
              $(document).ready(function () {
                  $(".btnAddFave").click(function () {
                        var productId = $(this).data("product-id");
                       $.ajax({
                          type: "POST",
                          url: "/dynamic/Favourite.aspx/AddToFavourites",
                          data: JSON.stringify({ 'productId': productId }),
                          contentType: "application/json; charset=utf-8",
                          dataType: "json",
                          error: function (xhr, status, error) {
                              alert(xhr.status);
                              alert(xhr.responseText);
                          },
                          success: function (response) {
                              $(".btnAddFave").find('.fa-heart').css('color', '#f7296a');
  
                              alert(response.d);
                          },
                          failure: function (response) {
                              alert(response.d);
                          }
                      });
                  });
  
              });
          &lt;/script&gt;
  
  
  &lt;script&gt;  
  
              $(document).ready(function () {
                  $(".btnRemoveFave").click(function () {
                      var productId = $(this).data("product-id");
                      var customerId = $(this).data("customer-id");
                         $.ajax({
                          type: "POST",
                          url: "/dynamic/Favourite.aspx/RemoveFavouriteByCustId",
                          data: JSON.stringify({ 'custId': customerId, 'productCode': productId }),
                          contentType: "application/json; charset=utf-8",
                          dataType: "json",
                          error: function (xhr, status, error) {
                              alert(xhr.status);
                              alert(xhr.responseText);
                          },
                          success: function (response) {
                              $(".btnRemoveFave").find('.fa-heart').css('color', '#007c7a');
  
                              alert(response.d);
                          },
                          failure: function (response) {
                              alert(response.d);
                          }
                      });
                  });
  
              });
          &lt;/script&gt;
  </code></pre>