Questions tagged as 'ajax'

1
answer

Requests array

I have a list of contacts, each contact has its agency reference and I can only access the data of this agency by making a request. For each contact I have to access the agency to return the complete data. Contact Agencyforthiscontact Ho...
asked by 24.07.2015 / 15:43
1
answer

Error 503 "No 'Access-Control-Allow-Origin' header" [closed]

I'm trying to make a connection in datasnap using ajax My code: var url = 'http://cloud.nooven.com.br:12345/datasnap/rest/TServerMethods1/CriaSessao/'+cpfCnpj+'|'+usuario+'|'+senha; console.log(url);...
asked by 03.07.2015 / 20:33
1
answer

Tooltip does not work dynamically

Look at this line: response.write "<span data-toggle='tooltip' data-original-title='" & TitleBadge & "' style='margin-right:3px;'>" This line is inside a file that is called via ajax. If I put it inside the html: <span da...
asked by 01.07.2015 / 01:20
1
answer

pass variables from AJAX to PHP

I'm trying to pass values through two variables in AJAX to a PHP file, but it's not working. if I put date: {idUsuario: "5", idChoose: "1",} sure. What is wrong? $(document).ready(function(){ $("#botao").click(function(){ var u...
asked by 24.10.2015 / 23:45
1
answer

Error listing Data via Json [duplicate]

I am using a method to return an object of type JSON but it is not listing the information: My Controller public ActionResult GetDados() { int codigoVenda = 2; try { SistemaDBEntities db =...
asked by 13.10.2015 / 22:01
1
answer

Send POST with Ajax and CodeIgniter

For almost 1 day I am facing a problem which until now can only be solved (making sure I was right) doing wrong, ie gambiarras. I'm trying to create Transparent PagSeguro Checkout but I can not send POST with the Credit Card token and Sender...
asked by 11.10.2015 / 03:31
2
answers

400 (Bad Request) when sending array to Spring Controller using AJAX

   POST link 400 (Bad Request) I'm getting this error when trying to send 2 array's to my Spring controller, however I'm getting this error, I tried some solutions I found in SOen but I did not succeed. The version of my Spring is 3.0.2....
asked by 08.10.2015 / 20:36
1
answer

Problems with ui: repeat and ajax update

Good evening. I have some problems with using ui:repeat and the ajax update of primefaces. MyintentionistolistthecriteriafromtheDecisionProcessidtowhichtheyarelinkedsothattheusercanselect,foreachoneofthem,ifitisanumericvalue(Boolean...
asked by 11.06.2015 / 13:11
1
answer

auto complete of ajax inserting values in all inputs

To use an ajax request, to send a number to the server and return information about that number! In case I return two values, they are nome & funcao . So long so good! It works as it should! It sends the information and returns its...
asked by 15.08.2015 / 02:41
1
answer

Ajax query does not work [closed]

Well, a simple query ajax, php and mysql. This same code changed only by the field name works normally on another page. $(document).ready(function(){ $('#email').keyup(function(){ var Email = $(this).val(); var EmailResult = $('#div_mensagem...
asked by 14.08.2015 / 23:22