Last active
August 29, 2015 14:14
-
-
Save takamin/eae8eb526341f110d10c to your computer and use it in GitHub Desktop.
the TextBox plugin that utilizes styles jquery-ui.spinner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.uitext = function() { | |
this.addClass("ui-spinner-input") | |
.css({'margin-right':'.4em'}) | |
.appendTo( | |
$('<span/>') | |
.addClass("ui-spinner") | |
.addClass("ui-widget") | |
.addClass("ui-widget-content") | |
.addClass("ui-corner-all") | |
.insertBefore(this)); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment