$(function() {
$('.add-job-button')
.click(function() {
$('.left h4').remove();
var inputVal = $('.input-name').val();
var inputVal2 = $('.input-description').val();
if (inputVal && inputVal2) {
$('.left').append('<div class="added-job">' +
'<h3>' + inputVal + '</h3>' +
'<input type="image" class="delete-job" name="delete-job" src="delete.png"></input>' +
'<p>' + inputVal2 + '</p>' +
'</div>');
} else {
return false;
}
});
});
moveBlock.style.top = test + "px";
{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}