diff options
Diffstat (limited to 'js/live/liveajax.js')
-rw-r--r-- | js/live/liveajax.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/live/liveajax.js b/js/live/liveajax.js new file mode 100644 index 0000000..a6a80ea --- /dev/null +++ b/js/live/liveajax.js @@ -0,0 +1,11 @@ +/* + * Javascript function for quick ajax requests. + * This file needs mootools.js to be included on the pages. + */ + +function LiveSimpleAjaxRequest(url, param, value) +{ + var req = new Ajax(url, { + method : 'post' + }).request(param + '=' + value); +}; |