Simply one really. IE8 is caching my data so it works first time but not afterwards. I need to stop it using cached data when i call getJSON?
P.S Im currently debuging my site in IE so expect lots of posts from me :) Thanks for all that have helped so far truely are a great help!
...
So I'm reading a book on AJAX, and they are talking about using inner function as a way to handle multiple requests. I understand that, but in this bit of code they used, I don't understand how the variable XMLHttpRequestObject can still be used:
if(XMLHttpRequestObject)
{
XMLHttpRequestObject.open(“GET”, dataSource);
XMLHttpR...
I want to make it that one user on the site can chat request another user on my Django site. I want the requestee to get a realtime box that say: "Do you want to chat?"
How does the following client polling approach sound:
user1 clicks on users2 nickname, generating a POST request to some /message/requests, which creates a Message of t...
I've got XML coming back from an Ajax.Request in Ajax.Response.responseXML. My XML actually contains XHTML tags which I hope to append into my document.
I'm having issues appending nodes from the responseXML into the current document, however. I suspect that this is because they are XML nodes and not DOM nodes.
Wrapping the responseXM...
Hello.
Im standing out with a issue, that the SESSION variable is "showing" before its defined..
Index.php is my site, where there is a design and inside that there is a frame. Now, index.php have this:
<div id='message2' onclick="closeNotice2()" style="display: none">
<? echo $_SESSION["user_message_123456"]; ?>
</div>
Inside the f...
I have protocol (like http) with scheme managed with 3rd party App registered in Mac OS X.
I.e, x-someapp://someaction or something like that.
How can I open this URL with Google Chrome?
By default, Chrome starts searching in Google engine instead launching App and passing URL handling to it...
Safari launches some registered App. And ...
I am working on some auto-suggest feature.
The script is fairly itself.
When a character is typed in to the textbox it sends a ajax post (or get) request to the php file which queries the database and returns a result set.
But the problem is that the php file is accessible on its own. So it can be called directly. Is there a way to pr...
I'm writing a web application that involves a continuous cycle of creating (and removing) a fair number of images on a webpage. Each image is dynamically generated by the server.
var img = document.createElement("img");
img.src = "http://mydomain.com/myImageServer?param=blah";
In certain cases, some of these images outlive their usefu...
I have a simple AJAX jQuery command to update a shopping cart (triggered by a dropdown list box change):
$.ajax({
type: "POST",
url: $.url("updateCart"),
data: data,
dataType: "json",
success: function (data, status, req) {
alert(data + " - " + status + " - " + req);
});
It appears that in jQuery 1...
I would like to integrate auto-suggest on my website. Which option should I pursue? Are there any advantages with going the jQuery route vs the Javascript route? What about disadvantages?
What about having my local javascript request information from server-side JSP? I have about 10,000 keywords in my database that I'll be using.
I wou...
The following code does not return anything:
$('.foo', $('<div class="foo">foo</div><div class="bar">bar</div>').get(0)).html()
Is there any way to specify a string representation of xml/html as the context parameter of the jQuery function? I'm trying to select a section of an html document retrieved from an ajax request; the ajax ...
I'm using ajaxSend() to intercept requests originating from a jQuery plugin on my page and then filtering irrelevant requests using the ajaxOptions url.
$('some-selector').ajaxSend(function(e, xhr, settings) {
var ajaxUrl = settings.url;
if (ajaxUrl.search('targetpage.aspx') == 0) {
//need to add an additional paramete...
Hi,
I am using jqModal on my project.
I need my dialog box to be showed from ajax and the dialog box should be draggable. Here is my snippet of my code:
js code:
**$('#ex2').jqm({
//trigger: '#ex3aTrigger',
overlay: 30, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
overlayClass: 'whiteOverlay',
ajax: '/dialo...
We are plannning to use Ajax in our ASP.net project.. But we still want member panel of our web site to work in all browsers, So we have decided not to use Ajax in some forms where browser independence is must.. N I am now confused with whether to use ASP controls or HTML controls or both? plz guide and plz explain which problems i might...
I just tried creating an Event on EventBrite and they have this nice autocomplete input for cities (start typing "san" and it will bring up "San Francisco, California..." and a list of others).
What's the best way to do that? Do you need to store that in a local database or do people make those ajax calls to something like google maps ...
Hi there,
I have an accordion control extender in my page which is works fine, I added a css file to show the as a list, it is working perfectly in all the borwsers, but in IE compatibility view the list-style-type:square; is displaced and also there is one additional square added to top. is it a bug?
Is there any other way I can sho...
I'm working on an API that sends HTML forms to external AJAX apps.
Would it be abusing the HTTP headers if I include information such as stylesheets and scripts to use in the headers? I'd like to keep the HTML as clean as possible.
...
I'm working in ASP .NET dynamic data.
In one of my edit controls I wanted to allow the user to add records from a related table to the current page. (Literally, if you are on the orders page, you would be allowed to add a new customer to the system on this page as well, and then associate it with that order).
So, I have a DetailsView set...
Hi,
I'm new to AJAX and XML. I'm stuck on a school assignment..
The task is to process an XML file consisting of 2000 different places with name, name of city and name of county. and making a dropdown menu with the different counties, but only once.
The XML file looks like this:
<places>
<place>
<Name>Vestby</Name>
<City>Vestby</...
can we use google AJAX Language API with EXTjs?????
i have tried example
for translitration
i have one html file
New Document
Type in Hindi (Press Ctrl+g to toggle between English and Hindi)
and typemarathi.js
google.load("elements", "1", {
packages: "transliteration"
...