I have Custom button name as "Create reservation" where i execute javascript. Which is on "Property Object" When custom picklist field value equals to "Available" then it should redirect to another page otherwise no action perform from "Create reservation" button. How to do it? actually m newbie in salesforce. Here my OnClick JavaScript-
window.open('/apex/Create_Reservation?kk={!Property__c.Id}','_blank');