Can you explain it a bit better? I dont quite understand what is going on
Alex Mcauley http://www.thevacancymarket.com ----- Original Message ----- From: "dpGoose" <[email protected]> To: "Prototype & script.aculo.us" <[email protected]> Sent: Thursday, August 13, 2009 9:18 AM Subject: [Proto-Scripty] Using Ajax.Updater posts the contain form > > Hi, > > I am using Axaj.Updater to retrieve a message from the server and it > does do this but it also posts the form the Updater script and > associated controls are contained in. I have followed the examples on > the prototype site with modifications for my web server. Why is this > happening? Here is the relevant code. This response is just a text > message. > > <script type="text/javascript"> > function loadit() > { > new Ajax.Updater( 'structureTree', 'Render?s=OrgConfigAjax', > { > method: 'get', > parameters: > { > cmd: 'test' > } > }); > } > </script> > <button onclick="loadit();">Click me</button> > <div id="structureTree">Loading... > </div> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
