// Helper function to dynamically create a bootstrap alert box. function createErrorAlert(message) { var tmpDiv = $('
') .attr("id", "myAlertBoxID") .attr("role", "alert") .addClass("alert alert-danger alert-dismissible fade show") tmpDiv.append(message); tmpDiv.append($("