Created
January 8, 2014 16:51
-
-
Save adrianoxavier/8320022 to your computer and use it in GitHub Desktop.
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 addField = function(formId) { | |
var html = '<div class="row">' + | |
' <div class="col-sm-6 col-md-5 col-md-offset-1 col-lg-6 col-lg-offset-2">' + | |
' <div class="form-group">' + | |
' <label for="Reason">Reason</label>' + | |
' <input type="text" class="form-control input-lg" id="Reason" tabindex="7">' + | |
' </div>' + | |
' </div>' + | |
' <div class="col-sm-6 col-md-5 col-lg-2">' + | |
' <div class="form-group">' + | |
' <label for="Date">Date</label>' + | |
' <input type="text" class="form-control input-lg" id="Date" data-mask="99/99/99" tabindex="6" placeholder="M/D/Y">' + | |
' </div>' + | |
' </div>' + | |
'</div>'; | |
$('#' + formId).append($(html)); | |
} | |
addField('hadeyeSurgeryGroup'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment