Whats the best way to call a certain method in a PHP file with Ajax.Request (using prototype)? I am submiting a form with Form.serialize, so I thought of adding a parameter (like the name of the method to call) and then check it on the server script.Something like:\[code\]var params=Form.serialize("someform")+"&=method='check_data'";new Ajax.Request('somescript.php',{method:'post',parametersarams,onSuccess:function(response){ .. do something with the response\[/code\]And in somescript.php:\[code\]if($_POST["method"] == "check_data"){ check_data();...}\[/code\]This would work, but Im sure theres a better or simpler way to call a remote method (ala MVC). Any ideas?