[JavaScript Library] Toastr 라이브러리로 alert() 대체하기 :: 예쁜 알람 메세지
캐떠린
alert();는 너무 투박해! 학원에서 Servlet/JSP 프로젝트를 진행하며 각종 알람 메세지에 alter();를 사용했었습니다. 근데 alert창은 예쁘지도 않고 투박하고, 또 요즘 웹사이트에서는 alter창보다는 화면의 상/하단에서 알림창이 예쁘게 올라왔다 사라지곤하며 알려주곤하죠! 게다가 alert창은 엔터를 꼭 눌러줘야한다는 번거로운점까지 있습니다. Spring 프로젝트에서도 알람메세지나 필수 항목 입력 유효성검사에 대한 응답으로 alert창을 사용하였으나, 추후 개선사항을 반영하는 과정에서 alert를 대체할 예쁜 알람메세지 toastr 라이브러리를 알게되어 포스팅하고자합니다. 저는 toastr 라이브러리를 알게된 이후 현재 작업하는 토이프로젝트(은행 웹사이트 제작)의 알림창도 해당 라이브..