Question

Je forme pour télécharger des images .. ce que je veux est de traiter le formulaire en ajax et après le succès montrent jquery thickbox ..

Était-ce utile?

La solution

faire la ajax-appel, et définir une fonction de rappel.

Dans l'appel fonction de rappel de cette méthode:

function tb_show(caption, url, imageGroup)

cela devrait normalement montrer l'tickbox

Faire la ajax-appel:

$.ajax({
  url: "yoururl.php",
  cache: false,
  success: function(){ // --> this defines what function needs to be called when the ajaxcall was successful.
    // note that you'll need to fill the variables caption, url and imagegroup here. I don't know what they should be in your case.
    function tb_show(caption, url, imageGroup);
  }
});
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top