ajax

Is AJAX easier with ZendX_JQuery or with Zend_Dojo?

The context is that I don't want to use Zend MVC - controllers, helpers, decorators etc - that's overkill for what I am writing. I've scoured the jQuery site plugins section and these issues bother me most: I have to search a lot for plugins - it is tedious. I have to check dependencies with jQuery versions. Thankfully I decided to s...

IE7+ does not execute events if control does not lose focus

Hello all: I have a input control (a Text Box) which has some javascript events associated with it (change, keypress, select, click). The first time my page is executed, I type some value in this input control and then click on my button. This button executes some ajax code, send some info to a application server and it is OK. Also, the...

What stylesheet gets used by loading ajax content?

I am trying to find out whether a piece of content included via ajax, needs it's own call to the stylesheet, or relies upon the stylesheet loaded of the calling page... It just isn't clear how it is being styled, and what is the source of that stylings.... My educated gut tells me it get it's styling from the calling page, but i'd like...

ASP.NET MVC and ModalPopupExtender

I am developing an application with ASP.NET MVC and wish to make use of Modal style windows. Here is one example. On my "Login" view, I have my login details, but also have a button to create an Account for the application. I have a separate "CreateAccount" view, but would like it to pop up inside a ModalPopupWindow. Is this possible ...

jQuery validation plugin and .ajax

So, I have a form where I load divs as I go asking for various user input and displaying some offers. I have the following: $("#calcPrice").click(function() { $("#invPricing").validate({ rules: { ... }, messages: {... } , submitHandler: function(form) { .... $.ajax({ }); $.ajax({ }); re...

PHP/AJAX Image Grabbing script similar to functionality Facebook messaging...

Hello, When sending a message on Facebook, if you include a URL it generally grabs a picture from the webpage and adds it at the bottom as a thumbnail. You then have the ability to select through a number of pictures featured on the site. I can see how this could be built, but to save me the hassle I wonder if somebody has already don...

parseerror when getting XML via jQuery AJAX

I want to pull an RSS feed via jQuery AJAX, but every time I do, I get a parsererror. My feed is relatively complex (using CDATA and custom namespaces), so I tried stripping down the document returned (along with a million other combinations), but even with an extremely simple document, it still fails. This is my AJAX code: $.ajax({ ...

SQL query in tables side by side instead of one long table

hi there, I have ajax ReorderList in my wep page,and I get the data from SQL Server. I would like to add table cells dynamically according to number of records and show the result side by side until for example I have five data in a row and then move to the next row, any idea? Thanks in advance ...

AJAX Control Toolkit Assembly loading error

I encounter a problem...error is ....Ajaxcontroltoolkit.dll is in bin folder, but still I get this follwoing error... Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The module was expected to contain an assembly manifest. My code is (in .aspx file): <%@ Register Assembly="AjaxControlToolkit" TagP...

Generating report dynamically using ASP.NET AJAX

I've googled this to death and can't find anything that points me in the right direction so any help would be much appreciated! I want to generate a report that consists of X no. of gridviews (X can vary) where each gridview is added one at a time using ajax (to avoid timeout of rendering all gridviews in single post back). I am also h...

How can i see datatable which is the return from a webservice method

Hi there, I am trying use a datatable from a web service method. I can see return value when it's a string data. This my code and it returns an alert hatada : null $.ajax( { type: 'POST', url: 'http://localhost:40764/HastaTahlilUyariServisi.asmx/Hello', data: "{_sTcKimlikNo: ...

ajax gif loader

hi, can you tell me where and how to put an ajx loading.gif? my html code is below <div class="searchbox"> <input id="Search" onkeyup="searchKeyUp(event) " name="Search" class="searchtextbox"/> </div> </td> <td width="57"><br> <img onclick="search(); return false;" style=" cursor:pointer" eight="30" onmouseover="this.src=...

Passing JavaScript Array To PHP Through JQuery $.ajax

I want to manipulate a javascript array in PHP. Is it possible to do something like this? $.ajax({ type: "POST", url: "tourFinderFunctions.php", data: "activitiesArray="+activities, success: function() { $("#lengthQuestion").fadeOut('slow'); } }); Activities is a sing...

Help to submit xml string/document as ajax request to background page using YUI

I would like to create the XML string on the the aspx page and then submit this request using the YUI ajax request to another aspx page for the processiong. So 1. is this possible by setting some of the ajax requests configurations like we do on ajax response ? 2. How it can be done ? ...

using comet i-frame with jquery?

i havent found any good tutorial with code examples on how to use comet with jquery. found this link: http://www.zeitoun.net/articles/comet_and_php/start but they are using prototype. and i found a comet plugin for jquery on the jquery website but there is no documentation and i cant figure out how to use it. are there any good tutori...

Save data from AJAX request in variable (jQuery)

How can i get the data from a AJAX request saved in a variable with jQuery? Thanks in advance ...

what comet technique is this demo using?

what they do on this demo is exactly what i wanna do. http://www.lightstreamer.com/demo/RoundTripDemo/ i wonder what comet technique they are using. it cant be iframe cause on Firefox i can open two tabs with same link. with iframe u cant do that. and it cant be long polling with ajax cause i didnt see it polled anything with firebug....

Problems with AJAX control

I'm new to AJAX, and i've just received a project to improve full of this issue. I've studied AJAX briefly, then i know all the consepts and some simple features. and i also know that while developins, it's extremely different from the deployed general look. In the middle of one of the screens, there's this: I'm new to the project as w...

How does one do async ajax calls using cherrypy?

I'm using cherrypy's standalone server (cherrypy.quickstart()) and sqlite3 for a database. I was wondering how one would do ajax/jquery asynchronous calls to the database while using cherrypy? ...

jquery comet long polling and streaming tutorials?

im so tired of not finding good tutorials on long polling/streaming comet techniques with jquery. what is wrong with the comet community. a lot of people wanna use this but there are no good tutorials about it. why so slow? ...