I have dumbed down this code even more and still can't get the ajax request to fire. Any suggestions would be great.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" /> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script src="js/prototype.js" type="text/javascript"></script> <script type="text/javascript"> document.observe('dom:loaded', function() { var url = "http://terrain/cm/servlet/cmwebservice"; new Ajax.Request(url, { method: 'post', onSuccess: function(transport){ $('notice').update(transport.responseText); } }); }); </head> <body> <div id="notice"></div> </body> </html> --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---