Skip to content Skip to sidebar Skip to footer

Dynamically Created Elements Lose Spacing

I have div a with two span elements:
My workspace<inputid="edit-workspace-name"value="' + workspace_name + '"type="text">'+' '+ '<spanid="submit-name"class="glyphicon glyphicon-ok"></span>'+' '+ '<spanid="cancel-name"class="glyphicon glyphicon-remove"></span>'+' ');

Note: While whitespace is important the quantity of that whitespace isn't so any combination of tabs returns and spaces are always treated the same.

Post a Comment for "Dynamically Created Elements Lose Spacing"