-1
I have a form and would like to submit it without reloading the page I am trying it with javascript, when I try to click the button it does not submit the form as I asked
<form id="myForm" method='GET'>
"; ?>
<script>
Function Submitformdata() { var codefolder = $("#codefolder"). val(); $. post("listxth.php", { codigofolder: codigofolder}, Function(date) { //In case the page saves.php data send some response after receiving the data }); }
edited the question to try to do with what you propose but could not note in question pf
– Victor Hugo Liboni Abrão
You need to post the HTML of your form, it does not appear in your question.
– Bins