JavaScript Utility Libraries

MogulJS has many JS libraries that can be used to perform common tasks.
Each library is a class containing functions.
Below is a list of all the classes with a description of what each class is for. Click on one to learn more about the functions inside of it.


All JavaScript libraries are loaded from core/MScript. Some require jQuery so make sure to load jQuery before using MScript.
Click on one to learn more about the functions inside of it.

MCookie
Set or get a cookie.
MDate
For generated formatted dates.
MLoad
----Load in CSS and JavaScript files dynamically as needed.
MMath
A class for performing various math functions.
MNumber
Number functions.
MSearchable
Search within the DOM for strings and automatically hide or show the container.
MString
String functions.
MTemperature
Temperature conversion functions.
MTime
Time conversion functions. Useful for media information.
MURL
Obtain infromation from the URL of the request.
MValidate
Validate the existentce and content of differet types of data.