.click (function() event problem with text()

.click (function() event problem with text()

Hello. I noticed that when i use the click event for a button...  a strange thing happend. I use text() to post a text on the screen but the text disapears after a second. What I can do to show the text all the time....
  1. $('#but').click(function() {
  2.       $('#err').text("OK"):
  3. });