Questions tagged as 'ajax'

2
answers

Div making jquery impossible to locate next element

Friends, I have the following question: The following code below finds the next element from the clicked select: link It works perfectly. The problem is that by including the child formatting divs between fields, it can not find the n...
asked by 24.09.2016 / 15:45
0
answers

Ajax does not work in IE6

I have Ajax below, which works normally in Chrome, Firefox (no error in Firebug) and Opera: /** * Função para criar um objeto XMLHTTPRequest */ function CriaRequest() { try{ request = new XMLHttpRequest(); }catch (IEAtu...
asked by 19.09.2016 / 15:54
0
answers

Post Ajax outside the same Project

Error: XMLHttpRequest cannot load http://localhost/appread/Post.php. Response for preflight is invalid (redirect) Ajax code: $('#btn-sinc').click(function(){ $.ajax({ type: "POST", url: 'http://localho...
asked by 20.10.2016 / 20:43
1
answer

Ajax warns success but does not enter data

I already did an insert without using ajax and it worked normal, when I used ajax and returned success I thought it was all right, but when I went to look at the database the data was not there Running JS Code function adicionaUsuario(){ va...
asked by 20.10.2016 / 05:58
1
answer

Null parameters in controller when sending post via ajax

I'm refactoring an ASP.NET MVC application written by another developer. My intention is to remove the use of FormCollection . Before signing the controller method it was as follows: public ActionResult Salvar(FormCollection Parametro...
asked by 12.09.2016 / 15:31
2
answers

Send to driver model filled

I have on my main page two partial views, each with a specific view model associated, where all screen fields are assembled through Razor, as shown below: <div class="row"> <div class="col-sm-6 col-md-5 col-lg-4"> <div cla...
asked by 02.09.2016 / 18:34
1
answer

Failure to use JSON on INTEL XDK

I'm making an application on INTEL XDK, in which I need to connect to the Database. I created PHP to return with JSON and in Intel, I made the function to return such data. But the application is not returning anything, and since I never did any...
asked by 03.09.2016 / 03:03
0
answers

Primefaces - RequestContext Update

Hello, When loading the page the method iniciarTeste() will be called as follows: <f:metadata> <f:viewAction action="#{testeController.iniciarTeste()}" /> </f:metadata> On the same page I have the field nome...
asked by 02.09.2016 / 21:55
1
answer

Message while form is being sent

Good evening guys, I have a form in php that with the option to attach file and then it will be sent to an email, I am beginner in this part of ajax and javascript but would like to know if it has how to display a message while the form is "sent...
asked by 06.09.2016 / 06:06
2
answers

InputText returns null

Talk to people, I have a problem that I do not know what else to do. My idea was to have a checkbox that when dialing would show a field and unmark would hide this field, for this I used rendered and ajax, but when I mark this checkbox even if I...
asked by 29.09.2016 / 22:12