<button class="btn btn-default" data-toggle="tooltip" title="Like"><i class="fa fa-star-o"></i></button>
$("button").click(function(){ $(this).find("i").removeClass("fa-star-o").addClass("fa-truck"); });
$("button").click(function(){ $(this).find("i").toggleClass("fa-truck"); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)