Questions tagged as 'ajax'

0
answers

Generate automatic api sequence when clicking the specific product

I have a customer portal, and in this customer portal will have a "my purchases" page there will show the products purchased, and when you click on it will appear the "tracking" of this product with various information. I do this with data from...
asked by 03.01.2018 / 15:22
0
answers

Block forced edit of hidden input

For example, I have a stock system in PHP and in it the session edit quantity of the product. Here is a form to add the quantity. In this form I have a hidden field that takes the id of the product to give the update in the products table. I...
asked by 26.12.2017 / 19:29
1
answer

Duplication of Chat messages at the time of the Webinar (client side)

Hello, I have a chat that at the time of the webinar when receiving enough clients watching at the time of sending message, the same on the screen seems duplicate, but in the database does not save duplicate, follow the chat code. function salv...
asked by 28.12.2017 / 12:44
1
answer

Fill Selects based on selected item from another Select

I am having difficulty filtering two selects based on an earlier selection of the user. In this case, the user will select the client, and the selects seller and manager should only show the sellers and clients of that selected cli...
asked by 15.12.2017 / 17:43
2
answers

How to make slideToggle () of div that was requested via ajax?

Dear Sirs, I have a div that is populated via ajax: function atualizaConteudo(){ $.ajax({ url: 'getters/conteudo_amanha.php', success: function(data) { $('#conteudo_amanha').html(data);...
asked by 27.12.2017 / 19:30
0
answers

How to improve performance of ajax update? JSF

I'm developing a restaurant system and I have a dataGrid that updates the other. For example: I click on the class and update the product dataGrid. It works, but the result is a bit slow. I'm using a <h:commandLink> with updat...
asked by 14.12.2017 / 18:44
0
answers

PHP file requested by jQuery respond only to the domain itself

I made a .ajax() of jQuery code to avoid direct access to PHP files, but would like to improve the security of requested PHP files, read about Access-Control-Allow-Origin and other tips, but I researched and did not get an explanation / c...
asked by 12.12.2017 / 00:22
1
answer

Return database data in the label with Javascript

I need to return the database data inside the inputs when I select the "Edit" button without the page being reloaded, however, by clicking "Edit", I see that the button action changes, according to the javascript code, but the inputs are not fil...
asked by 12.12.2017 / 01:34
0
answers

Multiple requests with ajax - Jquery

I have a page containing 1 (one) to 50 requests. So I use a loop that makes the call. For the speed of my internet, in a matter of 3 seconds should load all the requests. But it's done one by one, so it takes minutes to finish. How do I la...
asked by 23.12.2017 / 00:00
0
answers

Help? Uncaught TypeError: $ (...) .tooltip is not a function at HTMLDocument.anonymous

I have this error and have tried everything, but nothing here the error: jQuery.Deferred exception: $(...).tooltip is not a function TypeError: $(...).tooltip is not a function at HTMLDocument.<anonymous> (http://askmee.tk/zero0:...
asked by 11.12.2017 / 02:55