How can I change the action of a form with a prototype? I have seen many examples with jquery using:
$("#form1").attr("action","http://actionurl.com");
but do not have a prototype. Thanks in advance.
You can use the writeAttribute method :
$('form1').writeAttribute('action', 'http://actionurl.com');