John Au-YeungHow to Display a Loading Indicator When Making an Ajax Request with jQuery?Sometimes, we want to display a loading indicator when making an Ajax request with jQuery.·2 min read·2 days ago----
John Au-YeungManipulating Dates with Day.js — UTCDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·May 25, 2024----
John Au-YeungHow to Tell setInterval to Only Fire x Amount of Times with JavaScript?Sometimes, we want to tell setInterval to only fire x amount of times with JavaScript.·2 min read·May 22, 2024----
John Au-YeungManipulating Dates with Day.js — Get the Start or End of a Unit of TimeDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·May 18, 2024----
John Au-YeungHow to Disable the Submit Button on Form Submission with JavaScript and jQuery?Sometimes, we want to disable submit button on form submission with JavaScript.·2 min read·May 15, 2024----
John Au-YeungManipulating Dates with Day.js — Add or Subtract a Given Amount of TimeDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·May 11, 2024----
John Au-YeungHow to Detect if an HTML5 Video Element is Playing with JavaScript?Sometimes, we want to detect if an HTML5 video element is playing with JavaScript.·2 min read·May 9, 2024--1--1
John Au-YeungManipulating Dates with Day.js — Minimum Between Multiple Dates and Set Different Date ValuesDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·May 4, 2024----
John Au-YeungHow to Get a Substring that Comes After a Separator with JavaScript?Sometimes, we want to get a substring that comes after a separator with JavaScript.·2 min read·May 2, 2024----
John Au-YeungManipulating Dates with Day.js — Set the Year of a Date and Get Max Values Between Multiple DatesDay.js is a JavaScript library that lets us manipulate dates in our apps.·2 min read·Apr 27, 2024----