Category : javascript

this is my html form to add picture in database. <form id="image_form" method="post" enctype="multipart/form-data"> <p><label>Select Image</label> <input type="file" name="image" id="image" /></p><br /> <input type="hidden" name="action" id="action" value="insert" /> <input type="hidden" name="image_id" id="image_id" /> <input type="submit" name="insert" id="insert" value="Insert" class="btn btn-info" /> </form> i am making ajax picture add,edit delete function in ajax.this is the code ..

Read more

Could you, please, help me with one task. I need to make a ajax request for several forms. But I have always gotten an error 405 jquery.min.js:4 POST http://127.0.0.1:5500/formx.php 405 (Method Not Allowed). <form method="post" class="x_order_form validate"> <input value="" name="client" placeholder="Your name" required="" type="text" class="-metrika-nokeys"> <input value="" name="tel" id="phone" placeholder="Your phone number" required="" type="text" class="-metrika-nokeys"> ..

Read more