ajax

Play list image as "like" play video?

Hi, I build webcam remote application, user install my-cam-application and set webcam and ftp account to my-remote-cam-site, Video of preview convert to image and upload to the web using ftp. Now, i want to play again image like video, how is it? Thank you ...

Is the OpenLaszlo DHTML runtime production ready?

As a long time time Flex developer I've thought about building my next application - which should run on the iPad as well - with OpenLaszlo. OpenLaszlo offer a Flash and DHTML runtime, but besides the demos on the website I don't see any real world application built with OpenLaszlo: http://openlaszlo.org/showcase Has anyone built a larg...

Can't get correct return value from an jQuery Ajax call

This is supposed to return a JSON object containing a list of picture filenames. The commented alert shows the correct data, but alert(getPicsInFolder("testfolder")); shows "error". function getPicsInFolder(folder) { return_data = "error"; $.get("getpics.php?folder=" + folder, function (data) { data = jQuery.parseJSON(data); ...

ASP.NET - Heavy connection problem with AJAX/JQUERY

I've written an updatescript that updates a few div's every second with serverside info. Now the problem is it seems kinda heavy usage, in google chrome my mouseanimation even keeps loading. I hope somebody can tell me how to better this script or maybe got an other solution. Here is my aspx page: <%@ Page Language="C#" AutoEventWireu...

updating treeview without postback

Hi folks I have updatepanel inside it I have tabcontainer and inside it I have panel but again inside the panel I have treeview I don't want to change the order. let back to inside of the updatepanel I have button to add some treeview nodes programmitically and it works but I can refresh treeview or databind actually there is no data I j...

converting simple pagination in javascript into jquery code

hey guys i have a simple pagination pagination code that had been writen with raw javascript codes function ChangeForumPage(e){ if(busy == 0) { switch(e) { case "Next": page = p+1; p++; break; case "Prev": if(p>1) ...

How do I only allow the ajax request if the javascript calling is on the same server as the PHP file?

Hello! How do I make it so an ajax request can only be executed if the JS and PHP files are on the same server? ...

jQuery AJAX Form Builder

I need some really stellar AJAX example forms. I want to build simple but great 2 column forms with a dynamic form builder. This is one example but want one that is very easy to use and that I can move rows up and down and is very flexible to code in. ...

Request.InputStream returns empty stream in Firefox 3.5.11

My ASP.net application allows users to upload files via AJAX. Generic Handler (.ashx) handles uploaded files. Up to now one user got error while uploading. User told that his browser is Firefox 3.5.11. I also setup that version and tested the system. I realized that context.Request.InputStream returns empty stream. I couldnt find an...

jQuery handle Ajax timeout?

Hi, I'm trying to catch Ajax timeout error with jQuery 1.4.2, but none of tutorial I found work. In Firebug, when timeout error fires. I see uncaught exception: [object Object]. Please help me handle Ajax timeout. Here's my JS code: $.ajax({ type:"POST", url:"/data/add/", data: { "date":$("input#date").val(); },...

AJAX with callback functions

I am having trouble access data within an ajax connection. Not sure what is wrong with my code. It seems as though it never reaches the 2nd function. Any ideas? function fetchgps(callback) { var url = "http://www.instamapper.com/api?action=getPositions&amp;key=584014439054448247"; var myRequest = new XMLHttpRequest(); myRequest...

#hash added by firefox and ie at the end of url in search-results page (Google personal search)

is there any way to avoid firefox and ie to reload the page adding the hash-tag to the url. due to that i refine results by time with adding &as_qdr=d to the end of url, i have a problem with theese hashtags. It does not happen with Chrome, but Firefox reloads the page after query adding this nightmare hash d?=¿)a¿?)!!m!!"!"·n I am t...

Losing data when editing editable datatable (JSF2)

Hi there, I'm starting to code a little cookbook. Therefor i've created a page to add some menusteps, a menustep should describe how to cook the menu step by step. I have a datatable containing a list of MenuSteps. The user can click a commandLink to add/delete a new step. The Bean adds or removes a MenuStep of the list and rerender the...

caching images using ajax

the div content of my web page changes dynamically. The images used in dynamic html are currently on server.is there any way i can cahce those images to have better experience when content of div are change ...

Autocomplete extender not firing

Hello. I have a ajax autocomplete extender and everything works fine. I mean sql procedure and others are fine but when I enter something to textbox nothing happened. Why is that? Here is my codes. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Configuration;...

Safari and Chrome adding form values to URL

Long story short: on Chrome and Safari only, values from a login form are sometimes pasted into the user's URL, even though the actual login is POSTed via AJAX. http://my-site.example/?name=user&amp;pw=xxx&amp;challenge=b1be8ad7aac242... It's been reported repeatedly and I've seen it happen myself, but have been unable to reproduce it...

The best way to accomplish Ajax Feeds

Hey guys. I'm currently starting a new project that will display user distrubuted data links in an ajax feed on front end. What I'm looking to accomplish is very similar to the to the Facebook Feeds on there index, where the content is updated every X Seconds. I already have half of the PHP side completed such as the Entities Compiler...

Hiding a TR with ajax/js

I have the following HTML: <tr id="n16"> <td class="t_row">Text <a href="#" onClick="javascript:notification_dismiss('16');">Dismiss</a></td> </tr> I want to update my database and hide the TR when people click Dismiss. Updating the database is working fine, but the TR won't hide. I have this JS: function stateChanged(str) ...

iphone web apps: performance hotspots? caching? javascript bottlenecks?

I'm starting to make an iphone app with jqtouch - so i'm keen to hear some best practises. I'm developing for iphones users on a UK 3G connection. Any particular things that cause script blocking? What are the main performance hotspots? Whats the deal with browser caching? If the iphone doesn't cache should i include my scripts and st...

Returning Multiple Images to JSF page

Hello, With this code, I am able to return one image based off of a dropdown selection. Any ideas on how to return multiple images (I have attempted to create an ArrayList with the images and use the UI:Repeat tag to render it back to my view, but I was unsuccessful. Here is my current code now, which works but only returns one image. A...