Questions tagged as 'ajax'

1
answer

values in a html table loaded from mysql

Very good friends, I have a question: I have the following table: <div class="container"> <table class="table"> <thead> <tr> <th scope="col">Fecha</th> <th scope="col">Concepto</th>...
asked by 29.12.2018 / 23:32
1
answer

I have a problem in login json php

I'm confused between json and jquery gives me [objet] [objet] the truth is not lose I pass the code to you //tema es ajax json function iniciar_sesion(user, password) { var validaruser = user.split(" ").join(""); var validarp...
asked by 14.12.2016 / 20:50
2
answers

I try to upload files to the asp .net mvc server

I need your help I'm starting with asp.net mvc, I need to upload files to the server, this is my html: <form action="javascripts:;" method="post" enctype="multipart/form-data"> <input type="file" id="fileUpload" name="fileUpload" val...
asked by 13.11.2018 / 20:57
1
answer

Problem with ajax form

I am learning to use ajax when doing click on the submit button of the form does nothing. I put my code: // Esta es mi función: $("#virgen").click(function virgen() { consulta = $("#virgen").val(); $.ajax({ data: '...
asked by 21.11.2018 / 10:50
2
answers

Open input from icon font awesome

What happens is that I want to click on the fa-paperclip icon to open the window to choose which files I want to attach. I currently have this: <html> <head> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4...
asked by 14.11.2018 / 18:43
4
answers

How to pass a variable with ajax to another php file

Good I have an inconvenience with my code, I want to send you a data through ajax, that allows me to make a query according to what this variable brings, the problem is that you do not want to recognize me when making the $ _POST variable, in it...
asked by 07.11.2018 / 05:09
2
answers

Doubt sent reply with ajax

Help me understand how this works please. How do you receive in .outer_div the message that is created in edit_banner.php through data by request ajax? I see you have this: $(".outer_div").html(data).fadeIn('slow'); But I do not understand...
asked by 06.11.2018 / 21:02
1
answer

how to receive data in PHP sent from AJAX in wordpress

I am not receiving the id from ajax in PHP, I have tried several forms but it always remains null, if in the file content.php I load the variable "$ post_id = 123" statically shows the data correctly. I have my JS, where I get the id of a HTM...
asked by 16.11.2018 / 14:48
1
answer

When inserting number in input, update the other two without having to change input

As I said in the question, I am updating some inputs through what I insert in two of them, the quantity and the unit price. Now I am updating well with AJAX, but you need to change the input to actialize, is there any way to write if you update...
asked by 27.10.2018 / 18:30
2
answers

How can I upload a file to my server using PHP, AJAX, JAVASCRIPT?

I have problems uploading a file to my server, I CAN NOT read the $ _FILES ['file'] ['name'] after having gone through AJAX, I use the following code: HTML index.php <html> <head> <meta charset="UTF-8"> <scrip...
asked by 26.10.2018 / 07:45