Use new Date(), setting the date to February 29th of the given year. Use Date.prototype.getMonth() to check if the month is equal to 1.
The following function submits the data of formEle to the back-end using an Ajax request
Get all of the classes on an element as a string, add a class or classes, or completely replace or remove all classes.
Here are 2 ways to strip HTML code from a given text.
Here are some handy, simple ways to manipulate CSS classes.