Category Archives: Javascript

Sync Scrollbar (Horizontal)

HTML

 

Javascript

 

lazy load app (horizontal)

 

Javascript App for Modal

 

Line break from PHP to Javascript

 

Draw on Image using canvas

 

Clone a HTML element with jquery clone()

Reference:

  1. https://stackoverflow.com/questions/32637674/jquery-clone-date-picker-not-working

moment.js

Difference between two moment objects:

https://momentjs.com/docs/#/displaying/difference/

Ajax Example