Skip to content

fallback for browsers that don't support the 'placeholder' attribute, e.g. IE < 10

Notifications You must be signed in to change notification settings

scheinercc/jquery.placeholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

jquery.placeholder

fallback for browsers that don't support the placeholder attribute, e.g. IE < 10

options

  • submitHandler
    .js-form-submit default class name; required on form submit element, i.e. <button class="'js-form-submit">
  • complete
    callback function

usage

basic:

	jQuery.placeholder();

extended:

	jQuery.placeholder({
		submitHandler: '.my-own-submit-selector',
		complete: function() {
			// stuff to run
		}
	});

About

fallback for browsers that don't support the 'placeholder' attribute, e.g. IE < 10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published