1.0.3 • Published 7 years ago

jquery-capitalize v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

jQuery Capitalize

The jQuery Capitalize Plugin provides capitalization for your inputs fields (or any other element) for proper names, places etc.

Getting Started

You have three choices to get the plugin:

Download latest release

Download the latest release

Install it with Bower

bower install jquery-capitalize

Download the latest changes

  1. Fork or clone this repo
  2. Run npm install to install the build tools
  3. Run gulp
  4. The generated file will be at the dist folder

Using the plugin

Include jQuery and the plugin on a page. Apply the plugin to the elements you want.

<input type="text" id="name" />

<script src="jquery.js"></script>
<script src="jquery.capitalize.min.js"></script>
<script>
$(document).ready(function(){
	$('#name').capitalize();
});
</script>

Output sample

BeforeAfter
JOÃO A.DA SILVAJoão A. da Silva
ruA DA praça xvRua da Praça XV
jonnas foniniJonnas Fonini
LOUIS VAN GAALLouis van Gaal
áREa de teRraÁrea de Terra

License

Copyright (c) 2014 Jonnas Fonini. Licensed under the MIT license.