I have button in my MVC 3 view. Here it is:
<button rowId="@employee.Id" value="refresh" class="button-submit" class="btn btn-mini" style="border: 0; background: transparent; box-shadow: none;">
<img class="btn btn-mini" width="24" height="24" alt="Delete doctor" src="/Content/img/refresh.png" />
</button>
I want to show tooltip, so:
$(function () {
$(".button-submit").tooltip();
});
But is doesn’t work in my case. How can I make them work?
Did you import the javascript for the tooltip plugin as well as the JQuery javascript?
Take a look at the example at the end of this page