Hi Subil, I don't think your question relates to the Google Gadget API. This page uses standard AJAX techniques to handle the submission and page content update. You will find more resources that you will have time to read on the web, but for a brief overview, you can check out this Wikipedia short summary: http://en.wikipedia.org/wiki/AJAX
If your questions what to find out how to reproduce a similar behavior in a Google gadget, you should read about the _IG_Fetch...() function families (from the gadget legacy API). When your user submit some data in the gadget, you should do an async' query to your server to save the submitted data. Once the callback is triggered, you can easier just adjust the displayed content (modifying the HTML content in your gadget by changing elements innerHTML or by DOM manipulation), of do a more brute force like approach to re-render your gadget content once the callback confirms that the call to your back end was successful. I hope this helps. Jerome On Oct 22, 7:51 pm, sibil <[EMAIL PROTECTED]> wrote: > hello > > i am wondering how this page > works:http://www.google.fr/ig/directory?url=www.google.com/ig/modules/built... > > the part where you can submit a comment, what i know :it works with a > form that get submitted with the _xsend function, what i dont > understand is the way the page is written after the submission( the > source code is updated with a submission) and as i see this isnt done > with a database fetch(am i right?), so i think it's javascript that > writes to a xml file or something like that, i've been tryng to > reproduce the mechanism by myself but still can not succeed(i can > submit the form but if i refresh my webpage the submission gets > deleted), anyone could explain me the way it works? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
