Default value setter for text inputs
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tools
README
Rakefile
jquery.default_value.js
jquery.default_value.min.js

README

JQuery plugin for setting default values to text inputs

*** here is your html ***
<input type="text" id="search" default_value="From">

*** here is JS ***
$(document).ready(function()
{   
    $('input[type=text]').default_value();
});

*** that is all ***