Hello there,
Would anyone be able to post a simple example of working with AJAX requests in silverstripe? Couldn't find much documentation on this.
Let's say we create a page type 'AjaxPage' and have the controller output a form with a text box to enter your name and a submit button. I'd like to see the form processed and return a value e.g 'hello mike' so that i can output it in the AjaxPage layout file.
I just need to see the process/steps invovled.
Thanks :)