Intégrer PHP dans mon jQuery
Bonjour à tous, je réalise un site en ce moment et pour gérer mes catégories j'utilise cette manière : http://flowplayer.org/tools/demos/tooltip/table.html
Ça fonctionne impeccablement bien, néanmoins afin de finaliser ce script je voudrais appeler ma fonction delete() qui se trouve dans ma classe Catégorie.
Je ne sais pas si c'est possible, et si ca l'est je ne sais pas comment faire :calim2:, je pense l'intégrer ici ca serait plus logique.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
$("#mytable img").click(function() {
// get handle to the current image (trashcan)
var img = $(this);
// gradually hide the parent row
img.parents("tr").fadeOut(function() {
// after the row is deleted, hide our tooltip using the tooltip API
img.data("tooltip").hide();
});
}); |
Merci de votre aide et bonne journée :roll: