2 actions on 1 form hellp!

hi can someone help on how to have 2 actions on the 1 form using ajax. I do not want to use javascript as it is unreliable

thanks

The J in AJAX represents JavaScript.