On Mon, Apr 21, 2008 at 8:17 PM, SpiderX <[EMAIL PROTECTED]> wrote: > I'm writing my website to use AJAX for form posting and displaying content, > and instead of using AJAX to parse XML and then update the DOM, I'm using > Zope to create an HTML fragment and AJAX just writes it to the correct > location on the page. It works really great for what I'm doing, but the only > problem is that I get an error message: > > "Error: no element found > Source File: http://myzopesite:8080/mywebsite/zz/NewNote > Line: 1"
Use Firefox and Firebug or LiveHTTPHeaders to see exactly what is going over the wire; you can also use command line tools like curl to recreate the request to debug what is going on on the zope and browser sides. Zope itself has very little to do with Javascript; once it serves the JS all the requests look the same to Zope regardless of how they were generated. -- Martijn Pieters _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )