title: make default value in textbox not change till text is entered using jQuery
body: <p>Please check my fiddle at <a href="http://jsfiddle.net/7995m/" rel="nofollow">http://jsfiddle.net/7995m/</a> . In the fiddle, the default text disappears as soon as the text box is clicked. I want the default text to not change till text is written. The following is my code:-</p>
  
  <pre><code>$(".defaultText").focus(function(srcc)
  {
      if ($(this).val() == $(this)[0].title)
      {
          $(this).removeClass("defaultTextActive");
          $(this).val("");
      }
  });
  
  $(".defaultText").blur(function()
  {
      if ($(this).val() == "")
      {
          $(this).addClass("defaultTextActive");
          $(this).val($(this)[0].title);
      }
  });
  
  $(".defaultText").blur();        
  </code></pre>