djangosnippets.org: Latest snippets posted by davephttps://djangosnippets.org/users/davep/2007-07-26T00:51:35-05:00davepJavascript HTTP response2007-07-26T00:51:35-05:00davephttps://djangosnippets.org/snippets/341/<p>I've been using this along with <a href="http://www.prototypejs.org">prototype</a> to make simple ajax calls. In essence you make the calls from the client with...</p>
<pre><code>new Ajax.Request('url',{parameters:{'someparam':$('someparam').value}}); return false;
</code></pre>
<p>On the onsubmit event of a form, onclick or whatever. Note that the return false is important ...</p>
Freely redistributable