![]() |
how to clear an input after submit in jquery?
here is the code i have (it does live search)
Code:
jQuery(document).ready(function ($) { |
huh? Why do you want to clear the form? Why not have it clear the next time the cursor is clicked on the text field? That way the user still sees their search term in the text form?
Anyway, a simple form reset should suffice no? onsubmit="this.submit(); this.reset();" |
All times are GMT -7. The time now is 08:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123