AJAX (Asynchronous JavaScript and XML) is a technique for creating seamless interactive websites via asynchronous data exchange between client and server. AJAX facilitates communication with the server or partial page updates without a traditional page refresh.

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

How to restrict the html editor content from entering some data

I am using a html editor Control in which i want to restrict the following content ONE TWO THREE FOUR FIVE SIX SEVEN EIGHT etc or 0123456789
0
votes
0answers
13 views

Form when submitted to display a result (Firstname) in the ajax thank you message

Stuck on a thing with PHP, i know it is something simple but am not sure of the correct way of doing it, either by jquery or php. I have a contact form which when it submits its form, i want the ...
0
votes
2answers
27 views

how to determine ajax attribute

var ID = $(this).attr("id"); "id" is the attribute as defined by w3schools - $(selector).attr(attribute) I am new to ajax and would like to know where and how this attribute is defined
0
votes
0answers
25 views

$.ajax() not accepting php array

I'm using ajax to return results from a table (mysql). Ajax calls are made using jquery. Databases are accessed using PDOs. PHP function fetchQuestions() { $database = "answerMe"; ...
0
votes
4answers
45 views

Passing a value to PHP from jQuery Ajax

I'm trying to get a value back to PHP which I can work with and send to the database. I don't seem to be able to do that using the GET type of jQuery AJAX. Here's the PHP I'm using to catch the value: ...
0
votes
2answers
16 views

Ajax responseText and echo broken, returning header file contents

I have the following code in my thePhpFile.php file to handle an Ajax call: <?php require_once('usefulStuff.php'); // stuff used throughout the code if (isset($_GET['zer'])) { $bFound = ...
0
votes
1answer
8 views

Cache ajax response for loading records - Rails 3

I have the following code which retrieves the current users notifications and renders a partial each time the #notifications link is clicked via ajax. . How can I cache the ajax response so that, ...
0
votes
0answers
35 views

Send ajax request is not working

I send following curl request to get result from mongodb. curl --data 'cmd={"geoNear" : "items", "near":[6.8590845,79.9800719]}' 'http://82.196.xxx.xxx:27080/weather/_cmd' It is working. I try to ...
6
votes
1answer
48 views

Autopopulating data from the server to a textbox using jquery

I am developing a MVC application .net. I have a textbox called "Products". I have to autopoulate the textbox with the list from the server using jquery and ajax Here is the code: ...
0
votes
0answers
18 views

how to add Django media javascript on the fly to a widget in an ajaxed form?

I can't get my widget media JS to render in my AJAXed form. Only my widget's CSS gets rendered. How can I get the JS to render per widget? Don't want to have to stick it in my base template head ...
0
votes
0answers
17 views

Confused about passing parameters from JavaScript Ajax call back to controller to render a form

Scenario: I click on some objects,table rows,etc on my page and I get their IDs for example I click on Providers list and get provider_id. And then I click on a button on the page: Now I have a ...
0
votes
1answer
19 views

Ajax prevent form action and post form data

I have been searching through examples for days trying to troubleshoot my simple email signup form. I am trying to just submit an email to a database without leaving or reloading the current page. I ...
1
vote
2answers
55 views

Ajax not calling callback function

I am trying to get a JSON object from a service running on port 8080 on my server. I have implemented the following JavaScript and PHP code to achieve this: JavaScript: $.ajax({ type: 'GET', ...
2
votes
1answer
31 views

Return plain text JSON request

I am trying to call an ActionResult and update the value of an img on the page based on the returned result from the Action, but for some reason I post to a new page that just prints the string ...
1
vote
1answer
22 views

Get headers Ajax Jquery

I try to get the header value "Date" like this but it gives: xhr.getResponseHeader is not a function I see the response header in firebug and it exists :S Maybe no JQuery support? Can this be ...

1 2 3 4 5 4510
15 30 50 per page