Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

GUID Helper


This plugin validates/creates GUIDs (Globally Unique Identifier).

Usage:
jQuery.Guid.Value()
Returns value of internal Guid. If no guid has been specified, returns a new one (value is then stored internally).

jQuery.Guid.New()
Returns a new Guid and sets it's value internally.

jQuery.Guid.Empty()
Returns an empty Guid 00000000-0000-0000-0000-000000000000.

jQuery.Guid.IsEmpty()
Returns boolean. True if empty/undefined/blank/null.

jQuery.Guid.IsValid()
Returns boolean. True valid guid, false if not.

jQuery.Guid.Set()
Retrns Guid. Sets Guid to user specified Guid, if invalid, returns an empty guid.

Downloads

Version Downloads Date Links
1.0.0-1 Notes


5
Your rating: None Average: 5 (1 vote)