Questions tagged as 'ajax'

1
answer

Change label text while looping on server

I have a screen that does a lengthy processing, and there is a for that every next , I want to set a label for the user to see the process. p> I know it can be done by ajax, but I did not find anything as an example. Can anyone help?     
asked by 02.06.2015 / 19:17
1
answer

Problems with accentuation in .load

The site is all right, database, files and meta everything in utf-8, but when I use $("#aviso").load("inc/aviso.php");},1000); It results in these characters , when I access the warning.php file it is with the accents all right. I'm us...
asked by 08.05.2015 / 00:30
0
answers

Content created dynamically over content created dynamically not working

Hello, I have a "static" page (in quotation marks because it is dynamically generated by PHP, but let's say static in the eyes of JavaScript) and I'm trying to dynamically create it because it will become a widget for other sites. First I make...
asked by 25.03.2015 / 17:59
1
answer

need script to delete mysql data with php [closed]

People need a php script where I log in and get the user id and where you can change user properties for example: I have a table in mysql with: USER: TEST, POSICAOX: 10, POSICAOY: 10. The script takes id and checks and then changes the dat...
asked by 22.04.2015 / 00:23
0
answers

$ .ajax - POST ... 500 (Internal Server Error) [closed]

I am sending a request to a URL by the function $.ajax() and need to return one of the parameters ( was, error, nothing ). In localhost is working correctly, I put it on the server and it returns POST link 500 (Internal Server Error)...
asked by 26.02.2015 / 16:57
4
answers

How to make Ajax requests, with Jquery, in different domains?

Is it possible to perform a POST-type request to a url that is not part of the domain of our application? $.ajax({ type: "POST", url: "http://www.dominioexterno.com.br/acao/", data: { var1: $('#input1').val(), var2:...
asked by 09.04.2014 / 15:09
0
answers

Error with AjaxSubmit

When doing .ajaxSubmit() of a form with a input type="file" I always get the error:    Uncaught TypeError: jQuery (...). data (...) is not a function Form: @using (Html.BeginForm("guardarDocComprovaticoProdOSCli", "OrdemSe...
asked by 23.04.2015 / 18:08
1
answer

How to load a partialview for an AJAX request? [closed]

I can not load a partialview into a div! <fieldset> <legend>Contato:</legend> @Html.Label("Tipo Contato: ") @Html.DropDownListFor(t => t.CodTipoContato, Model.TipoContatoList, new { id = "tipoContato", name = "tipoCon...
asked by 27.01.2015 / 14:51
0
answers

How do I debug (display errors) on a system that uses MooTools?

Alright? I do not know JS in depth, but I need to debug a piece of code that uses MooTools. When I inform my code to write an array with print_r or debug (cakephp), nothing is displayed to me and on the console it looks like this: SyntaxErr...
asked by 06.03.2015 / 17:49
1
answer

Manipulating links with accents

I am capturing news links posted to a particular site using the following code: function academia(){ function makeNews(res){ var soup = $(res.responseText).find('div [class~="tileImage"] h2');...
asked by 22.07.2014 / 16:57