2010-05-13, 06:04 PM
Ok, I've just started to learn JavaScript, Ajax, etc... so keep the snide comments to a minimum
Before I try and do anymore with my plugin I want to know if this is valid for an Ajax Request, namely the OnComplete portion.
I've changed a few names to avoid giving away what the plugin is, as this is a surprise
Before I try and do anymore with my plugin I want to know if this is valid for an Ajax Request, namely the OnComplete portion.
I've changed a few names to avoid giving away what the plugin is, as this is a surprise
new Ajax.Request('xmlhttp.php?action=my_plugin_xml, {method: 'get', onComplete: document.getElementById("test").innerHTML=request.responseText }});