Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

websanova/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wUtils.js

A collection of jQuery and JavaScript utils

Methods

postJSON: function(url, data, callback)
stop: function(e, preventDefault, stopPropagation)
uri: function(index)
URLParams: function(param)
URLHash: function()
shuffleArray: function(arr)
reload: function()
hexToRgb: function(string)
rgbToHex: function(string)
hexOrRgb: function(string)
base64Encode: function(input)
base64Decode: function(input)
utf8Encode: function (string)
utf8Decode : function (utftext)

Functions / Plugins

$.fn.removeClassRegEx()
$.fn.hasClassRegEx()
$.fn.maxChars()
$.fn.cssAll()

JavaScript

.sizeof()
.capitalize()
.isHex()
.pxToInt()
.reverse()
.wordCount()
.htmlEntities()
.stripTags()
.trim()
.stripNonAlpha()

Resources

License

MIT licensed

Copyright (C) 2011-2012 Websanova http://www.websanova.com