Daily Archive: December 6, 2018

Sharepoint : Changing date format using javascript

I would recommend to use : Moment.js library (link) Format Dates moment().format(‘MMMM Do YYYY, h:mm:ss a’); // December 6th 2018, 11:55:15 am moment().format(‘dddd’); // Thursday moment().format(“MMM Do YY”); // Dec 6th 18 moment().format(‘YYYY [escaped]...

Sharepoint Page reloaded when I click the button

I used following accordion code, But my page reload or refresh when i click it. <h2>IT Teams</h2> Click on the buttons to open the collapsible content. <button class=”accordion”>USA</button> <div class=”panel”> Jose Andrew Edward Gee...