DOM Calendar

From ProgZoo
Revision as of 18:22, 1 January 2022 by Andr3w (talk | contribs) (Created page with "<pre id='shellbody' data-qtp='clicky'></pre> ==Display a list of dates== <div class=qu data-width=300> *You can display Mon to Sunday <pre class=test> {expr:[{id:'total',prop...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Display a list of dates

  • You can display Mon to Sunday
{expr:[{id:'total',prop:"value"}],
 actions:[{id:'recalculate',method:"click"},{id:'quantity',value:"2"},{id:'recalculate',method:"click"},]}
let firstDate = new Date('2022-01-01');
for(let i=0;i<6*7;i++){
  let d = document.createElement('div');
  d.innerText = `i`;
  document.body.append();
}