Questions tagged as 'ajax'

1
answer

Error 404 when using Sky Ecommerce API

I'm trying to make a request via API to make sales via credit card. Manual URL: link JSON informed by SKY { "MerchantOrderId":"2014111703", "Customer":{ "Name":"Comprador crédito simples" }, "Payment":{ "Type":"C...
asked by 19.09.2018 / 20:28
3
answers

Send form without closing modal

I have a page with job opportunities when I click on a button it calls a modal and displays a form where sending information requires that he does not reload the page and displays a confirmation message. What has happened is that after...
asked by 04.09.2018 / 21:20
0
answers

Send data to the JSP using Spring and Ajax

Using Spring MVC I would like to update the view in an AJAX call to a long running method. Sorry if question may seem stupid but I do not know how to find an answer, if someone points me a tutorial how to do it would be extremely grateful. Cu...
asked by 08.09.2018 / 00:06
0
answers

Input file with pre-selected file

I have the code below that at the click of a button, open the windows explorer window to select a file and then send a POST to a .php file. The file I want to send to POST, is already on the server and I have the source path. How do I make th...
asked by 30.08.2018 / 03:25
1
answer

Function to get text value of an accessed URL

I tried to create a small function, it looked like this: $(document).ready(function(){ var value0; $.get( "file.php?id=1", function(data){ value0 = data; }); arrayAmount[0]=value0...
asked by 03.09.2018 / 15:07
1
answer

Refresh p: selectonemenu primefaces

I came across a problem I could not solve. I have a p: selectonemenu that has a p: ajax with event change. By changing the value of it it executes a listener that arrows the values of other p: selectonemenu. When giving the render of f: ajax it...
asked by 27.08.2018 / 15:32
0
answers

SyntaxError: expected expression, got '' in AJAX call

Hello I'm having an error in an AJAX call in my JavaScript. For some reason, it does not get to the function in my Controller and gives the following error: SyntaxError: expected expression, got '. This function is called as soon as I cli...
asked by 29.08.2018 / 21:06
0
answers

Error loading dynamic modal combo with ajax and php

Good afternoon! When populating a modal form, I use two combos, which are loaded dynamically. However, when I edit the record, the result of the second combo does not return and goes blank. Can you help me ? Below is the ajax I use to load the c...
asked by 29.08.2018 / 21:58
0
answers

Feed a list with data from the txt file

Hello, good morning! People need help! I have the following list created in html, it is not complete, just p you understand. <ul class="lista"> <li>Datetime:</li> <li>Velocidade:</li>...
asked by 29.08.2018 / 17:14
0
answers

Error: mb_strpos () expects parameter 1 to be string, object given

Context: Home When you tried to delete the Structure Checklist object, the following error occurred: mb_strpos() expects parameter 1 to be string, object given How do I fix this? DevToolsInformation: JavaScriptfile:(checklistStruc...
asked by 22.08.2018 / 19:09