Questions tagged as 'ajax'

1
answer

Click and pass url to php using ajax?

How do I get the link by clicking? Example: I have an iframe with a link that points to a page, I want to get that link, and pass via ajax pro php.     
asked by 27.05.2017 / 08:07
1
answer

Error generating file

I have a method that generates a file, this method is actually generating the file, I have another method inside my service that returns the file for download and for this I return a List until then I return that list with bytes for my controler...
asked by 18.05.2017 / 02:19
0
answers

Error sending email with PHP, Ajax and JSON

I have a simple form in PHP where the request is made through a JavaScrit with ajax that calls the PHP file and returns a response in JON. But the answer I have is always negative, according to the tests I'm doing it seems to me something with t...
asked by 28.05.2017 / 00:28
0
answers

JavaScript to check if the popup blocker is active

I need to make a JavaScript for an application that checks if the popup blocker is active. I have the following code: $(window).ready(function(){ var Janela = window.open('', '', ''); if(Janela==null){ alert('Não Abriu!!!'); } });...
asked by 15.05.2017 / 21:23
0
answers

Remove / ufeff from json_encode result

When doing a registration using ajax, success does not execute the commands inside it, when analyzing the code I noticed that there is / ufeff in the value returned by php and I think this is causing the error. Code php: <?php header("C...
asked by 16.05.2017 / 02:16
0
answers

capture html from an external page grab data from the table and send via Ajax

Next, how can I capture the pure html of a page, for example "site.com.br/tabela_precos" , this site has a return basically like this: <html> .... arquivos e configurações javascript .... outras tags html ..... ...... and here...
asked by 21.05.2017 / 02:52
0
answers

Rank system, largest to smallest

As the title says I'm having trouble putting a system from rank from highest to lowest number. My system is in the order of the database order in the database = 10,9,6,8,2,3
asked by 20.05.2017 / 20:03
2
answers

How to retrieve checkbox value in form using serialize ()?

I have a form in which it is dynamically created using the append method. The result is something in this format: $('#form').append("<tr><td class='td-min'><input value='"+item.role+"'"+ +" name='"+item.prefix+"' type...
asked by 15.05.2017 / 04:38
1
answer

Ajax Update only on the selected line

I have a DataTable here and I'm using a plugin so the user can edit the table data, I got it in parts (haha), the problem is that my call is not identifying what the user is entering, and when I define manually the cell value it changes on all r...
asked by 10.05.2017 / 14:51
1
answer

I can not get value from the table and use in ajas

Talk to people, blz? I am a beginner in php and I have a populated table with while and I need to use the value of a td in a select on another page returning in a modal. The structure I set up works by putting the value manually into the script,...
asked by 03.05.2017 / 19:02