Disable specific days in jQuery Datepicker

I had already posted about,

1. Disable Weekends in jQuery DatePicker
2. Enable only weekends in jQuery Datepicker

Now, one of my colleague asked me that I want to disable only Monday and Wednesday. How can I? Here is how you can achieve it. In this case, I have disable Monday(1) and Wednesday(3) but as per your need you can disable specific days.

  $('#<%=txtDate1.ClientID%>').datepicker({ beforeShowDay:
       return [dt.getDay() == 1 || dt.getDay() == 3 ? false : true];
And here is the textbox.
<asp:TextBox ID="txtDate1" runat="server"></asp:TextBox>
See live Demo and Code.
Feel free to contact me for any help related to jQuery. I will gladly help you.

Nothing shocks me, I'm a Software Engineer. And I am not young enough to know everything. I live in World Wide Web and from there take care of this website. This website communicates about my work, learning and experience. I believe life is short, and it is for loving, sharing, learning and connecting. So lets connect..