<apex:commandButton value="Default View" action="{!showlist}" styleClass="input" id="hide1" disabled="true"/>
<apex:commandButton value="Quote List" action="{!view}" styleClass="input" onclick="show()"/>
<script>
function show(){
document.getElementById('{!$Component.page1:form1:hide1}').removeAttribute("disabled");
}
</script>
after clicking the quote list .it has either remove the attribute or change the attribute value to false.i had tried several jquery and javascript any body can help in this