Append message to div instead of using alerts