ajax

Usage/availability of import function in Processing.js

The reference page (use "toggle all") for Processing.js says the import command remains unimplemented. It references a page for the Java Processing language that describes a usage pattern like this: import processing.opengl.*; I see at Github that some work on the import command was committed to the root in May. Does anyone know how thi...

Ajax with coldfusion8

I am very new to Ajax technique Is there any site or online documents where I can learn from basics of Ajax with coldfusion? Thanks- ...

This ajax is working fine can you help me to convert this into Comet...

Hello i am learning comet and i am facing problem since most of the online tutorials about comet contains js prototype so can you convert this code into long polling.... thank you... -pradeep //This is my js var xmlhttp function ajax(str) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Your browser does not support AJAX!...

How should I store and retrieve UK pound symbols?

Hi all, This is a problem I come across every so often; I always end up writing some horrible bodge, but I'm sure there must be a correct way to deal with it (after all, it's surely not uncommon to want to work with UK pound symbols). The problem: the user enters a UK pound symbol (£) into a textfield in the CMS. They click save, and t...

onreadystatechange event problem in AJAX call??

Hi, The problem seems very strange. I have a AJAX helper function within a same aspx file and onreadystatechange event is handled like this xmlhttp.onreadystatechange = function(){ if (xmlhttp.readyState == 4) //do some opp } this works fine. i can read the xmlhttp value inside the callbac...

AJAX Accordion renders scrollbars in Firefox but not IE

Hi all, Having a bit of a problem with the AJAX Accordion Control... I have two panes, one of which is open by default, but in Firefox it displays scrollbars across both axis - when you extend the second panel, these disappear. In IE no scrollbars are rendered - which is what i'm aiming for! Using FireBug, I can see that when the Acco...

Online dictionary - should I use AJAX for the search results?

I'm making an online dictionary. Now I have two options: 1) Use AJAX for retrieving results 2) Just use some regular PHP scripts If I choose the first option more likely the online dictionary will have one page and it's fast. If I choose the second option I'll have more pages (separate page for each entry with it's own URL), but it's s...

Examples of Web Sites Using AJAX or Push Technology on Their Home Page (or other useful pages)

I'm looking for a list of links to any examples of well-designed sites you might know that use AJAX and possibly HTTP Streaming to push data to the page or make updates to content of existing HTML elements. Ideal examples would be sites that update somewhat frequently (every 10-90 seconds) rather than very frequently (every 1-5 seconds...

Hasfile property of FileUpload is always false in GridView.

I am using FileUpload in GridView and this GridView is in UPdatePanel. This FileUpload is in footer of the GridView. I am uploading selected file in this FileUploader on a link button in same GridView. BUT when on uploading HasFile property is false. I have google for this problem and only solution is to put button in <asp:PostBackT...

ajax indicator before complete loading

Hi to all. How can I display an ajax indicator before all the images within a website layout were loaded? Thanks in advance. ...

Jquery Ajax or Get doesn't work on SOME IE

<script type="text/javascript"> $(document).ready(function(){ function listadepoimentos(page){ // $.get("ajaxes.php", {act:'listadepoimentos', page:page}, function a(b){$('#holder').html(b)}, "text"); $.ajax({ type: 'GET', url: 'ajaxes.php', data: {act:'listadepoimentos', page:page}, ...

Javascript: Trigger an event that happens in a few seconds, but be able to cancel that event if another event happens?

Disclaimer: I am anything but a Javascript expert, so I'm not even sure if I'm approaching this correctly... I want to be able to trigger an event in Javascript, but be able to cancel that event if another event occurs. So, what I'm looking to accomplish is: User begins typing in a text box. When textbox contents change, trigger an ...

php: pass large arrays of data through pages

I am trying to to solve a problem where I need to pass large arrays of data to another page, this is my scenario: The user input his/her gmail login information inside a form, I then send this information to an ajax page where i authenticate and fetch all the contacts, if the login is invalid they can try again but if it authenticated I...

ampersand not passing through url

On my site www.gibberize.com if you type in the word "and" in the top textarea, the character "&" will appear in the second textarea. The problem is that the "tweet it" link will then append the second textarea's text to a url and proceed to the link, but because it is an ampersand it will break the text. Any solutions? ...

Anchored AJAX and SEO workaround?

You all know how to build AJAX sites with those 300ms trigger for checking anchors (hash links) in URL and then loading proper page with AJAX. But, these anchor links are nothing to search engines =( I've thought of making some kind of workaround. All JS code remains the same, but, this little thing (I'm with JQuery, sorry): $('a').liv...

jQtouch and jquery loading overlay

I created a mobile app using jQtouch. I need to let my user know when an ajax call is loading after they've pressed a form button. So I want to load a mask and a simple loading gif. I can get it to work on the desktop version of the app with no problem, but on the mobile with the jQtouch framework I can't. I've tried jquery-loadmask ...

Render page initially and update via AJAX using the same template HTML

Let's say you have a view called "View Story" which is just a web page rendered on the backend via Python/Django. On that page there's a list of comments at the bottom rendered as part of the "View Story" template using Django's templating system (in a loop). This page also allows you to add a comment to the list. This is done through...

How to pass a JSON object to web2py using JQuery Ajax

I've used this method in .NET to pass data back and forth between client and server using JSON objects (both ways). I really liked the method and am looking to do something similar with web2py. Web2py supports returning json objects and supports jsonrpc. I haven't however been able to make it parse a JSON object. My client call loo...

How to refresh the dialog box in Facebook after submit (Rails, Facebooker, FBML)?

Hi, I am using Rails (Facebooker). This is for Facebook apps (FBML) and to keep it simple, let's assume it's a student registration system. In my student page (displaying their photo, name, grade etc), I have an 'edit' button. Clicking that button, will display a FB-dialog to edit their details. My aim is simple. I want the user to be...

MVC jQuery submit form (without page refresh) from JavaScript function

I'm pretty new to all this. I'm using ASP.NET MVC C# LINQ to SQL. I have an edit page that loads Authors and all their Books. The Books are loaded via an Ajax call. <script type="text/javascript"> $(document).ready(function() { LoadBooks(); }); function LoadBooks() { $(".Books").hide()...