i have input this:
<input value="<?php echo $formdata['title'] ?>" type="text" name="title" id="editbox2">
this edit page, load database data fields echo, replace them, , hit submit update them.
but when hit submit refreshes old data onto browser's fields, how can prevent this?
submit form using ajax request jquery submit.
use action="javascript:;" form tag
Comments
Post a Comment