Updater avec JQuery du contenu à jour

Voici un plugin JQuery utile pour mettre à jour du contenu périodiquement.

A télécharger ici

Step 1 –  jQuery et le plugin.

<script src="jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="jquery.periodicalupdater.js" type="text/javascript"></script>

Step 2 – le script d’appel

      url : 'random.php'
      var myHtml = 'The data returned from the server was: ' + data + '';

Liste des options:

URL appel ajax de votre fonction php


Tableau des valeurs envoyées à la page

valeur de départ de timeout en millisecondes.

durée Maximum du temps entre deux requêtes.

coefficient multiplicateur entre deux requêtes

Type de la réponse : text, xml, json etc – .

Step 3 – Arrêter les requêtes!

le script

  1. pg shoes

    I must voice my appreciation for your generosity supporting persons that really need help on this concern. Your personal dedication to getting the message all-around had been really effective and has consistently empowered guys and women much like me to attain their goals. Your entire warm and helpful report implies a whole lot to me and additionally to my office workers. Many thanks; from everyone of us.

  2. supreme clothing

    I precisely wished to appreciate you once again. I am not sure what I could possibly have carried out without the entire tips and hints discussed by you directly on such a field. This was a real intimidating crisis in my circumstances, however , viewing the expert fashion you treated it made me to weep with delight. I’m just thankful for this support and even trust you comprehend what an amazing job you happen to be putting in teaching the rest with the aid of your webpage. I’m certain you haven’t encountered all of us.

  3. off white

    I together with my friends were actually going through the great items located on your website while quickly got a terrible feeling I never expressed respect to you for those secrets. My women were for that reason joyful to see all of them and already have in fact been tapping into those things. We appreciate you really being so kind and then for obtaining such fantastic information most people are really eager to be aware of. Our own sincere regret for not saying thanks to you sooner.

  4. jordan sneakers

    I’m just writing to make you know of the outstanding experience my cousin’s daughter experienced viewing your site. She figured out many pieces, including how it is like to have an ideal teaching mindset to have a number of people quite simply have an understanding of a variety of advanced matters. You really exceeded visitors’ expected results. Thank you for giving those important, safe, explanatory not to mention unique guidance on your topic to Jane.

  5. kyrie 7

    I wanted to write you a tiny observation to help say thank you the moment again considering the amazing tactics you have discussed above. It was so surprisingly generous of people like you to supply unreservedly all a few individuals would’ve offered for sale for an e-book to get some money for themselves, certainly since you might have tried it if you ever considered necessary. These good tips additionally served to be a great way to be aware that other people have the identical keenness similar to my very own to find out way more when considering this matter. I am sure there are some more fun sessions ahead for individuals that examine your website.

  6. off white outlet

    I simply wished to appreciate you yet again. I do not know the things that I might have created in the absence of those secrets provided by you regarding such a problem. This has been an absolute hard setting for me personally, but viewing a new specialized way you treated that forced me to weep for happiness. I’m happy for the information and then believe you realize what a powerful job you were accomplishing teaching men and women with the aid of your website. I know that you haven’t met any of us.

  7. paul george shoes

    I precisely wished to say thanks yet again. I do not know the things that I would’ve achieved without these pointers contributed by you on such subject. This was a troublesome problem for me, but being able to see a new specialized mode you dealt with the issue made me to weep over joy. I will be grateful for the assistance and even believe you really know what a powerful job you were putting in instructing men and women with the aid of your webpage. Most likely you haven’t got to know any of us.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *