Jquery working , new div elements are added to display the messages