Skip to content

Instantly share code, notes, and snippets.

@kellysutton
Created August 17, 2011 20:55
Show Gist options
  • Save kellysutton/1152600 to your computer and use it in GitHub Desktop.
Save kellysutton/1152600 to your computer and use it in GitHub Desktop.
Example with an Array.join()
var createMyWrappedInput = function (defaultValue) {
return [
'<div class="Wrapper">',
'<input type="text" value="' + defaultValue + '"/>',
'</div>'
].join("");
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment