Re: ajax form submission - nothing happens

2008-11-08 Thread omar.laverde
Hi Carlos, i am fallowing that book, i find one error, a missing right parentesis in the comments_controller.php but i can´t find the other two errors you mention, could you tell me please where are they. Thank You On 2 nov, 14:45, carlos ferrandis [EMAIL PROTECTED] wrote: Hi. Are you

Re: ajax form submission - nothing happens

2008-11-08 Thread carlos ferrandis
Hi Omar yes, the parentesis you mentioned in the page 121 is one of the errors, and you might find in the page 116 where it says Installing the Prototype where it asks you to include a javascript line in your default.ctp. you should encapsulate the line between ? and ? and you need to echo the

Re: ajax form submission - nothing happens

2008-11-08 Thread omar.laverde
Thank you so much carlos, it seems i have change the 3 errors that you mention, but i dont know why i have still the error that the submit button doesn`t do nothing, the code that i change in the files are this way: - app/views/posts/view.ctp ?php echo $ajax-form('/comments/

Re: ajax form submission - nothing happens

2008-11-08 Thread omar.laverde
Hi I fiugured out what my error was, i download the ajax javascript file and i didn´t re named when i download it the name was prototype-1.6.0.3.js so i change it to prototype.js, and then all just work fine. Thanks On 8 nov, 11:29, omar.laverde [EMAIL PROTECTED] wrote: Thank you so much

Re: ajax form submission - nothing happens

2008-11-02 Thread carlos ferrandis
Hi. Are you following the exercise in the book: Implementing Ajax Features, chapter 8? if so I might me able to tell you that I found 3 errors on it. Reading your code I fix the last one. let me know then I can drop you the code corrected. carlos On 31 out, 15:13, Kieron [EMAIL PROTECTED]

ajax form submission - nothing happens

2008-10-31 Thread Kieron
Hi, I am trying to add a comments form to a blog post, updating the page with ajax, specifically using prototype.js. I've used ajax-form, however when I press the submit button absolutely nothing happens. I've tried the ajax submit method with the same result. If I submit the form without ajax