Change View of SharePoint Calendar using javascript/JQuery
<script type="text/javascript">
$(document).ready(function () {
$("#btnMonth").click(function () {
MoveView('month')
});
$("#btnday").click(function () {
MoveView('day');
});
$("#btnweek").click(function () {
MoveView('week');
});
});
</script>
<div style="float:right;">
<input id="btnday" value="Day" type="button" />
<input id="btnweek" value="Week" type="button" />
<input id="btnMonth" value="Month" type="button" />
</div>
No comments:
Post a Comment