how to clear the input value using jquery

Posted by rockers on Stack Overflow See other posts from Stack Overflow or by rockers
Published on 2010-06-14T18:06:47Z Indexed on 2010/06/14 18:22 UTC
Read the original article Hit count: 175

Filed under:
$("input[id^='exc-flwup-<%=Model.Date%>']").click(function() {
   $(this).val('');
  });

I am using this to clear the input field..when i click on the input box its doign clear but.. on form submit if i ccheck at controler side I am still seeing this value there?

do I need to do anyting else here to make null inputbox?

© Stack Overflow or respective owner

Related posts about jQuery