We used to have this up in a blog post, but I couldn't find it, so I'm re-mentioning it here. Here's the way I do it:<a href="#" onclick="shipping_billing(); return false;">Copy From Billing Address</a>
<script type="text/javascript">
function shipping_billing() {
fields = new Array('name','company','address','address_2','city','state','state_txt','country','phone','zip');
for (var q in fields) {
document.getElementById('shipping_'+fields[q]).value = document.getElementById('billing_'+fields[q]).value;
}
jQuery("#shipping_country").trigger('change');
}
</script>
It looks like you're new here. If you want to get involved, click one of these buttons!