hi there -
you dont need to set the METHOD dynamically - just the ACTION :-)
<script>
function checkOut()
{
document.forms['myform'].action = 'checkout.php';
document.forms['myform'].submit();
}
function updatePrice()
{
document.forms['myform'].action = 'updatePrice.php';
document.forms['myform'].submit();
}
</script>
<input type=button value=Update onclick='updatePrice()'> <input
type=button value=checkout onclick='checkOut()'>
something like that - hope it helps
cheers
vincent fleetwood
bodev.com