When developing an ajax based shopping basket for an ecommerce site what are some of the best practices?
Im interested in all best practices but i am particularly interested in how stock levels are managed. By this i mean say a customer goes to a product screen then at page load i would assume that they cannot put more than is availabl...
This works in all browsers except IE. I have no idea why. Its just an ajax clock that ticks through the seconds.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/...
Hi everybody,
How can I put in place a facebook-like-notification system:
- A userA writes a message to the userB
- A listener on the database routes the message to the userB
- On the userB interface, the message appears instantly
How can I do that in php?
Thank you very much,
Regards
...
Example search results for 'apple' on DDG: http://duckduckgo.com/apple
If you scroll down a couple of times more results are fetched with ajax. Then you click a link, visit the result, click the back button, and the DDG page is exactly as you left it.
How?
...
If a user clicks a button that will make an ajax post call to a php file, then navigates away from the website or closes the window, will the php file run completely until it finishes?
i want the file to download stuff to my server and post a bunch of information into a mysql database. This could take a minute or two. But i want the tas...
I'm working on a voting system in AJAX and PHP and I've run into a bit of trouble. We're displaying a bunch of posts from our database and each post has an image next to it -- clicking the image is supposed to 1) toggle the image colour and then 2) use AJAX call a PHP script which then decides whether to add or subtract a vote. I have th...
When I attach a link on facebook I get the title, url, description and images from that page.
But facebook separates the images and gives just the important ones. And this is what I don't understand.
For example, attach this link
http://tonlinegames.com/
- This is a gaming site with photos about the games.
When you attach it f...
I using jquery's $.post to pull information from a database dynamically. This works fine if I want one item however, I would like to store each column as an array and pass the whole array over. I have the array but am having issues pulling it back to javascript so I can use it.
Since the array will contain text with commas I can't use ...
Hi All,
I am using treepanel and custom treeloader and call the ajax request when click the node. It is working fine in both IE and FF.
But today we found out that if node have only one child (return only one record base on parent node id), then IE does not show child node. Same thing happening in Combo store as well if service return o...
I am trying to use jQuery load() function to get content from another page via AJAX. It works on Firefox, Google Chrome, but not in Internet Explorer 7 & 8.
Here is the page I am developing: http://139.82.74.22/70anos/no-tempo
All the jQuery code is working normally in Internet Explorer, but the specific part that should bring the dest...
I'm using jQuery Ajaxify to ajaxify my forms. It has all the same callbacks as the standard $.ajax function. I'm trying to add in a standard Javascript confirm() dialog before the form gets submitted though. Problem is, as soon as you click the submit button, the ajax request goes through. How do I delay that until after the user makes a...
Hi Guys,
I'm doing a search using CI and Jquery, well i'm very novice to this, this is my first time,
i have done this code but i can't figure out how to send data to the controller and search for a value entered in the text box? can you guys help me to figure this out?
here is my code
$(document).ready(function(){
$('#search').liv...
With Stackoverflow's "Ask Question" feature, when I've finished typing the title of the question I'm asking, the area beneath the title would open up and display a list of "related questions."
How do I implement that using jquery/javascript? Is there any plugins or open source code I could use for that?
I'm building a site using Django...
hey guys,
i am searching for a tool, that displays ajax requests in ie like firebug does it in ff.
do you know any free, easy 2 use , easy 2 install ... add-on/plug in for IE (8)?
thanks for help
...
I'm using jsTree jQuery plugin for drawing a tree.
When user clicks a node, an ajax request containing node's id is send to server.
In my response I generating such piece of html (this is done in separate servlet):
<li id="node_id_1"><a href="foobar">Child item 1</a></li>
<li id="node_id_2"><a href="foobar">Child item 2</a></li>
<li i...
Hi,
I have a website here which is continuously updated by Ajax. I'm using HtmlUnit in Java and need to get the updated text values but I don't know how.
For example: TextValue. When "TextValue" changed, how can I access the new value? I know there is a DomChangeListener (for added or removed nodes) and a HtmlAttributeChangeListener bu...
Using 1.4.1 against Android under Windows 7. I have a web service being access from the Titanium application, the service returns JSON like this:
{
"VFPData": {
"rows": [
{
"address1": "Orion House",
"address2": "Orion Way",
"address3": "Kettering",
...
I am looking for a way to either:
Do a cross domain plain JSON request a-la YUI IO (http://developer.yahoo.com/yui/3/examples/io/io-xdr.html with Basic Authentication)
or alternatively,
Have Sharepoint 2010's ListData.svc support JSON-P (e.g. /_vti_bin/listdata.svc/?$format=json&$callback=loaded) so I can use jQuery.ajax to make a Bas...
I have an Accordion control(accordion1) in my asp page. And 3 Accordion Panes- AccordionPane1,AccordionPane2,AccordionPane3. But it is not working.
...
I'm experimenting on this code that I got from the net (I'm trying to make a simple chat but i do the message insertion manually in mysql database). It refreshes the page every 3 seconds and displays the new message in the page fetched from database. It works well in chrome and firefox but it doesn't in IE. What I have observed in IE is ...