<script> var oDate=new Date();
oDate.setMonth(oDate.getMonth()+1, 1); // 11-1 oDate.setDate(0); // 10-31 alert((oDate.getMonth()+1)+'-'+oDate.getDate());</script>