I have an additional problem
When using the prototype library with the install of MODx 0.9.6 to handle the ajax calls I cannot get it to post any data back to a script
I have setup a script in the modules folder and am using this code to post back when you select an option from a select form element.
<script type="text/javascript" language="javascript">
function showTemplateVars() {
var tmplid = document.module.prodtypes.options[document.module.prodtypes.selectedIndex].value;
alert(tmplid);
new Ajax.Request('<?php echo $siteURL.$pm_config["path_module"]."ajax.php" ?>',
{
method:'post',
parameters:{tmplnum:tmplid, hmmmm:'AAAArrrrrgggg' },
onSuccess: function(transport){
var response = transport.responseText || "no response text";
alert("Success! \n\n" + response);
},
onFailure: function(){ alert('Something went wrong...') }
});
}
</script>
the ajax.php file is currently a simple echo of the $_REQUEST array, so I can see if my variables are getting to my script!
<?php
print_r($_REQUEST);
?>
EDIT:
I have currently done away with AJAX updating of forms on my module, and am 50% complete Yay!

But if anyone has any info on using ajax within the manager interface Id much appreciate it.
thanks for passing through.