Created
August 17, 2011 20:40
-
-
Save kellysutton/1152559 to your computer and use it in GitHub Desktop.
Death to the +=
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
var createMyWrappedInput = function (defaultValue) { | |
var wrappedInput = "<div class='Wrapper'>"; | |
wrappedInput += '<input type="text" value="' + defaultValue + '"/>'; | |
wrappedInput += '</div>'; | |
return wrappedInput; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment