Questions tagged as 'ajax'

1
answer

Pass php session value to Ajax

I need to get a value from a php session that is on a page where I have a contact form and pass through Ajax to another page, on that page I check whether the values are the same or not, but I can not do . My captcha code creates the session...
asked by 05.02.2015 / 21:39
1
answer

problems updating a table

I'm a beginner in php. does anyone know why it is not working? It does update correctly integer values, but if it is a string of letters does not work html He will type here a url to do the update <input type="text" id="url_video">...
asked by 26.03.2015 / 06:26
3
answers

Submit login and password!

I have a simple form to login for users with login and password ... I'm not able to give submit via JQuery, look at the code: <div id="opcoes2"> <div id="fazerlogin2"> <form name="fazerloginform" id="fazerloginform" action="faze...
asked by 10.08.2014 / 21:28
1
answer

Uploading image with AJAX and PHP

I need a help to upload image with AJAX, PHP and MySQL It takes all the data right, even saves the path of the image in MySQL, however does not create the file in the destination folder, what I want is to move the image set in the destination fo...
asked by 17.12.2018 / 16:33
1
answer

change page 10 query in 10 seconds

I have a page that lists all my events from the event table ( tbl_eventos ). I want to list all the events of the first week of the year, past 10 seconds, list all events in the second week of the year, and so on. In my events table I h...
asked by 10.02.2015 / 11:51
3
answers

How to keep the data of an html saved

Well, I need to get the value of a textarea and send it to a second textarea on the same page, but when I refresh I do not want the value to come from the second textarea sum, how to do this using javascript and Ajax? > My Code var textAre...
asked by 12.08.2018 / 23:21
2
answers

Ajax parameters are coming as undefined

I would like to say that I researched the forum and found some similar questions, but no answer solved my problem. Follow my question: Doubt: I'm trying to delete a notification by ajax, but the error is occurring. The variables project_...
asked by 23.05.2018 / 19:11
2
answers

Update page ajax mvc core

I need to close a modal, and refresh the page, I'm doing it this way: function closeModal() { $('#myModal').modal('hide'); location.reload(); } But the first time it does not work, and then it works normal, does anyone...
asked by 04.06.2018 / 21:53
2
answers

How to execute a function whose name was passed as parameter of another function, à the callback?

I created this function in order to abstract the $.ajax() calls to be executed at several different times. One of its parameters is the name of one of the functions that I would like it to run on success. However, how should I call thi...
asked by 10.05.2018 / 05:34
3
answers

Request ajax - Query parameter

In a page I have this field filled with the value "SP" <input id="campo" value="SP"> In php I have parameter <?php echo $_POST['estado']; ?> To process this field via ajax I would use var valor=$('#campo').val(); in th...
asked by 12.11.2018 / 16:22