jQuery Format URL

by Rob Lee

jQuery Format URL plugin. adds a protocol/prefix such as http:// in a textfield without interfering with what the user is typing. This is a simple plugin that makes it so when you click within an empty field, it automatically prefixes it with the protocol you choose or defaults to http://. When you click out of the field, if the field value does not contain your protocol or the default http:// it will add it. Example Usage: $('#selector').formatUrl({protocol: 'https://', alwaysShow: true});


Versions

Version Date
1.0.5 Aug 20 2013
1.0.4 Aug 20 2013
1.0.2 Aug 20 2013
1.0.0 Aug 20 2013