Questions tagged as 'ajax'

1
answer

Send JS data to PHP with ajax

Partner I'm trying to send data from a JS to a PHP that allows me to generate a PDF document, here the JS. var IDencuestapdf; var IDcontratopdf; var IDuserpdf; function generarPDF (){ IDencuestapdf = $('#idencuesta').val(); IDcont...
asked by 17.11.2018 / 17:42
0
answers

Load partial view

Hi, I hope you can help me. I have this view with this script <div class="contenedor"> <div class="tabs tabs-style-tzoid"> <nav> <ul> <li><a href=""><span>Personales</sp...
asked by 16.11.2018 / 20:56
1
answer

Field String saves as an integer php objects and mysql

I have a update that is done in the following way. public function update_donante($tabla,$caso,$link,$campo,$tipodonante){ $this->tabla=$tabla; $this->caso=$caso; $this->con=$link;...
asked by 15.11.2018 / 11:26
1
answer

Armed form phpmailer

I'm wanting to put together a form for a site using PHPMAILER. I'm trying to do tests with my own Email but I'm not getting the messages coming to me nor are the verification fields working for me. This is the test site . On the other hand I...
asked by 15.11.2018 / 01:55
0
answers

How can I download a word file with PhpWord and Ajax

I have a problem to download files with Ajax and PHP, when I open directly my file .php if I download the file, but when I call it from Ajax it only generates the file and does not download it, My Ajax function: $.ajax({...
asked by 13.11.2018 / 00:08
0
answers

how to make requests from ajax to python and sqlite

Hi friends, I have a question which I do not know what to use, I'm new to web programming and I know enough to create a web page, what happens is that I want to make an App and using a compiler of code like cordova which allows me to create an A...
asked by 12.11.2018 / 18:55
2
answers

Pass variable from php to ajax and redirect using location.href

I have a function in ajax that receives form parameters and processes them in a php file that searches for the registry, if it matches it redirects to another page, otherwise it shows an error message. The problem is that I can not get the param...
asked by 13.11.2018 / 16:04
2
answers

Finder in ajax [closed]

I found this code example in ajax that shows all the data of a table and I want to place a search engine, here my code: <!DOCTYPE html> <html> <head> <title></title> <script src="https://ajax.goo...
asked by 14.11.2018 / 22:09
0
answers

undefined index file

I am sending a form by ajax and I do not want to recognize the input of type file , practically I tried everything. Note that the submit button is outside the form and then capture the form with the form tag of html that...
asked by 16.11.2018 / 16:57
0
answers

laravel driver to receive data from ajax

I'm trying to insert data from an Ajax but it gives me an HTTP500 error, I suppose it is from the controller and I wonder what modifications the controller needs to receive the data correctly? Driver public function controladorprueba(Requ...
asked by 09.11.2018 / 19:17