2009/5/31 js_dev
>
> Hello,
>
> I have a function i found on the web that allows you to submit a form
> through POST and obviously this function uses the prototype lib. Now
> it works as it should but you have to "hard code" 3 parameters into
> the function.
>
> 1) The form id of the form you wan
Hi,
to preserve simplicity, you could do something like that:
document.observe('dom:loaded', function() {
[['Form1','login1.php','feedback1','submitButton1'],
['Form2','login2.php','feedback2','submitButton2']].each(function
(aInput){
function sendForm(event){
// we stop the defa