New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jquery-capitalize

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-capitalize

Capitalize proper names (persons, places etc)

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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

  • Fork or clone this repo
  • Run npm install to install the build tools
  • Run gulp
  • 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.

Keywords

forms

FAQs

Package last updated on 14 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts