Questions tagged as 'ajax'

1
answer

Function returning warning open_basedir restriction in effect. Filet

I have a function in PHP that checks if I have new requests in the system. if I have the return in ajax I will display a notification toas displayed the order number. PHP function verifies NewPosted.php <?php include('../../class/mysql...
asked by 29.09.2016 / 20:36
1
answer

validate 2 recaptchas on memsa pagina por ajax

Talk galley blz? I need a help I implemented 3 recaptchas on the same page. <form id='form1'><div class="g-recaptcha" id="Login" data-sitekey="minhakey"></div></form> <form id='form2'><div class="g-recaptcha"...
asked by 16.11.2016 / 00:42
2
answers

Creating a button with ajax and making it run php

I have a button that every time I click my page it updates. $btn_add='<a class="btn btn-success" href="cart.php?plus='.$id.'"><i class="fa fa-plus fa-lg" aria-hidden="true" add_btn></i></a>'; $btn_remove = '<a clas...
asked by 26.09.2016 / 15:32
2
answers

Alert bootstrap on ajax call

I have an ajax that deletes an image, after the deletion, I would like the page to reload and display a "Deleted successfully!" message. with alert boostratp. I already researched the forums and did not think it would help me. jQuery(document)...
asked by 25.09.2016 / 01:51
1
answer

Error returning data from JS array

I need to assign the attributes to the object relatively, without knowing how many parameters will come, so it is not returning results, is there another method? var menu = document.getElementById("funcaoMenu").value; res = menu.split...
asked by 18.09.2016 / 20:01
1
answer

Load HTML into Div via Ajax

I would like to get the answer from ajax, and load the div ... If I load the div, passing the url works 100% var detalhamentoDiv = $("#detalhamentoDiv"); detalhamentoDiv.load('/Exemplo/Controller/Teste'); $('#detalhamentoDiv').modal('show')...
asked by 03.09.2016 / 17:20
1
answer

Clear fields with Ajax

Colleagues. I've taken a project that already has PHP / Ajax triggered, the triggering normally occurs, but the fields are not cleared after the shot. I already tried putting form.value (); but it still does not work. Here is the code: /* C...
asked by 13.10.2016 / 02:44
2
answers

Ajax always falls into 'error' even when successful (C # MVC5)

Come on. I have the following method: C # [HttpPost] [AllowAnonymous] public JsonResult PostOnCRM(string textBoxFirstName, string textBoxCountry, string textBoxLastName, string textBoxEmail, string textBoxTitle, string textBox...
asked by 12.10.2016 / 19:23
1
answer

How to update a h: form every 30 seconds JAVA WEB

I'm trying to create a dashboard showing the sellers' results on a big screen in my company. I need to timer the panel every 30 seconds so the results are always up to date. I have no idea how to do it, all help is welcome.     
asked by 26.08.2016 / 16:03
1
answer

How to submit forms automatically without submitting and without refreshing the page

Hello, I'm a relatively new programmer in php and I'm developing a website. It is a site where there is a list of companies. And I wanted to implement in it, search filters, the first of them being a select "Select your city": <form meth...
asked by 01.09.2016 / 00:15