formaturl - jQuery Format URL plugin. adds http:// in a textfield without interfering.

  •        0

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});



comments powered by Disqus

Related Projects

Tablesorter -Flexible client-side table sorting

Tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.

jFreeChart - Java and .NET chart library

jFreeChart is a widely used open source charting library. Its flexible design is easy to extend and targets both server-side and client-side applications. It supports many output types, including Swing components, image files (PNG and JPEG) and vector graphics file formats (including PDF, EPS and SVG).


jQuery Hotkeys lets you watch for keyboard events anywhere in your code supporting almost any key combination.