how can I reset field after check it with php

Posted by mjd on Stack Overflow See other posts from Stack Overflow or by mjd
Published on 2010-03-15T08:15:41Z Indexed on 2010/03/15 8:19 UTC
Read the original article Hit count: 161

Filed under:
|

Hi all, I have a html form that sends the data from 2 fields (memer no. , pw) via axaj (getElementById)to php file to check them with database info. . I did every thing well but I want to reset both fields if one of them is incorrect . How can I send reset order back to html form ? notice - I didn't use submit button just normal button to keep in same page.

Thanks all

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about php