FullCalendar by default displays the dates of past and next month. This shows 6 rows on the view. Sometimes, when the complete last week (6th row) will be next month’s dates would have lesser desire for the users. Example: April 2019Continue reading “FullCalendar : Hide dates of previous and next month”
To get the attributes of elements that has been targeted (which element has been clicked), we can use two ways:
There are multiple approaches to solve the Fizz Buzz Test:
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”Click to see a simple solution
Modal popup can be added using SLDS as shown here.
It can be shown or hidden in two ways:
- Using CSS Class
- Using attribute variable
I had an After trigger in a Grand-child object that does some calculations with Child object and updates the result in Parent object. All the calculation logic were perfectly alright. But the result was wrong!
In e-commerce sites and in other applications, database sometimes will be designed in such a way that single table has child records in a chained fashion. Like, while defining a Product Type, Category and Sub-Category. A Sub-Category points to a Category in a same table and Category points to a Product Type in a same table. This Chained table has a format of Grand Parent, Parent and Child in same table as:
Images that depend on server-side loading fails sometimes due to multiple reasons, like image is not present, location might be wrong, browser fails to load or process the image. All these returns 404 as HTTP status. This breaks the image placeholder too. Using JQuery, the broken image can be replaced with the error placeholder image with this simple JQuery snippet: