Tag Archives: Ajax

Pare de renderização de layout para solicitação do Ajax com o costume de roteamento

Como posso parar a renderização de layout, quando o envio de solicitação por meio de AJAX..
O problema que enfrentamos é json dados é ecoado na class="IL_AD" , não passou a tha função de chamada de retorno do jquery
aqui está o meu script

jQuery.ajax({
    url: "/getPrivileges",
    type: "POST",
    

Continue lendo

Tagged , , , , | Deixe um comentário

Cakephp regarding Security Component and CSRF protection

There seems to be a problem with Security component when enabled, I cannot get my AJAX to work on the same controller where it is enabled!
I’m getting below error:

The Request has Been Blackholed

Existe uma maneira de Continue lendo

Tagged , , | Deixe um comentário

How to Pass Variables Into PHP Ajax Handler Script?

I have a small ajax php application, which outputs data from a mysql db into a table. The rows are links, which when clicked will call an ajax function, which in turn will call another php file, which displays aContinue lendo

Tagged , | Deixe um comentário

uploadprogress_get_info and large files

It seems that the PECL packageuploadprogressworks on files less then 10MB,
But Anything greater than 10MB, it fails miserably.
I’ve changed my php.ini to support larger upload, but it just doesn’t return anything!
Any Help on this?… Continue lendo

Tagged , , , | Deixe um comentário

Processing Jquery Ajax form submit with php

Recently I’ve been struggling with Jquery and Ajax while trying to submit forms with them. I have a very simple form with a username field and password field as well as a submit button. What the form is supposed toContinue lendo

Tagged , , | Deixe um comentário

Perguntas javascript e php

I have a problem with Ajax and php. Em primeiro lugar, I show my ajax code:

 <script type="text/javascript">
function loadXMLDoc(uri)
{
var xmlhttp;
var txt,x,xx,i;
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for 

Continue lendo

Tagged , | Deixe um comentário

jQuery ajax buscar dados de PHP em uma variável jQuery

I need to receive the status of vote using ajax and php and jquery. Following is my code :

var VoteStatus= GetStatus() ;
var ID = $('#ID').val();

function GetStatus() {
    var res = '';

    $.ajax({
        type: "POST",
        data: {VoteID:ID} ,
        

Continue lendo

Tagged , , | 2 Comentários

Chat Client / Posts Without Re-Loading Page

I am looking to create a site that will allow users to create groups and then chat/post within those groups. Contudo, when posts/chats are made within a group, I do not want users to have to reload the page toContinue lendo

Tagged , , , | Deixe um comentário

call two ajax function inside each other

i have an ajax call and it works good , when i call a new ajax call inside the old one , i got error in the first call
just one ajax call

$.getJSON("http://localhost/Mar7ba/Ontology/getRelatedConceptsAndRelations/"+conceptName+"/TRUE",function(data){
            var concepts = data[0];
            var relations 

Continue lendo

Tagged , , | Deixe um comentário

AJAX Program Not running on Webstie but working fine on Local WAMP Server

Well i am trying to Test the AJAX code and running the sample Example from this book :
AJAX and PHP By: Audra Hendrix; Bogdan Brinzarea; Cristian Darie
Now there are Three Files :
1) Index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD 

Continue lendo

Tagged , , , , | Deixe um comentário
68 páginas