ajax

How to summarize view-components/widgets-information in a JAR-File?

I would like to use an ajax toolkit/framework like ZK (www.zkoss.org) or GWT. But I don't know whether it's possible to bundle resources in a JAR? Do you know which one support such resource loading? ...

ASP.NET localization with Page Methods/Web Services via AJAX

That's a mouthful... Here's the issue, we're doing some client-side validation via AJAX calls to page methods (which are essentially web services). We've also added a drop-down on the page to choose your language and have created a class that inherits from Page that initializes localization based on the drop-down selection. When page ...

Creating a web app, then adding AJAX to it?

I imagine there are many of you out there who have developed an app online which automates a lot of processes and saves people at your company time and money. The question is, what are your experiences with developing that app, having it all set in place, then "spicing" it up with some AJAX, so it makes for a better user experience? Al...

Using AJAX callbacks with ASP.NET User controls

What's the best way to implement user controls that require AJAX callbacks? I want to accomplish a few things: Have events done in the browser (eg, drag and drop) trigger an AJAX notification that can raise a control event, which causes code on the page using the control to do whatever it needs to do (eg, change a value in a database...

Building Ajax Form in Google App Engine

I have a form, when I click on submit button, I want to communicate with the server and get something from the server to be displayed on the same page. Everything must be done in AJAX manner. How to do it in Google App Engine? If possible, I want to do it in JQuery. Edit: The example in code.google.com/appengine/articles/rpc.html doesn'...

ASP.NET 2.0 callbacks not working correctly in Firefox

I've implemented a .NET Web control that uses the callback structure implemented in ASP.Net 2.0. It's an autodropdown control, and it works correctly in IE 6.0/7.0 and Google Chrome. Here's the relevant callback function: function ReceiveServerData(args, context) { document.getElementById(context).style.zIndex = 300; document.getEleme...

Ext Js and Adobe Air

Can anyone reccomend some good tutorials for ext js and adobe air? The ones I have seen seem to start with you knowing a lot or already having a lot of code in place. What I am looking for is a simple step by step guide that takes you through the basics of Ext Js in use with adobe air, in fact i suppose just a good Ext Js tutorial for b...

Ajax Loading Icons - Where to Get?

Anyone know where I can get this icon in 32x32? And more generally what's a good source for finding Ajax loading icons? This one only offers 16x16. ...

Should I avoid using a JavaScript library while learning how to write AJAX client code?

Is it better to learn how to code AJAX without the use of an AJAX library? What are the advantages of coding from scratch over using a library such as jQuery? See also: What are some of the pros and cons of using jQuery? ...

Differentiating Between an AJAX Call / Browser Request

Is there anything in the header of an HTTP request that would allow me to differentiate between an AJAX call and a direct browser request from a given client? Are the user agent strings usually the same regardless? ...

Please share your experiences of DWR 3.0 M1 RC2 ?

Hi, I am planning to use DWR 3.0 M1 RC2 release candidate for my application. The primary reason of using this version is that it nicely integrates with Spring 2.5 framework and requires least possible level of configuration ! If you have using particularly this version of DWR, I would appreciate if you can share your experiences (bene...

Which Javascript Ajax Framework is most powerful and very lightweight?

I’ve been using a jQuery to do the whole ajax magic in my web based applications. But I came to a decision that I don’t need all these amazing features jQuery has, except its ajax functions (like $.ajax(), $.get(), $.post, getJSON() and load();). Can you recommend a lightweight crossbrowser ajax library/framework (upto ~10 kb)? Thanks ...

Wicket + Javascript

I'm wrapping up a Javascript widget in a Wicket component. I want to let the JS side talk to the component. What I've got so far: Component in question goes like talker = new GridAjaxBehavior(); this.add(talker); in constructor and then, later on, puts something like "var MyGridTalker = new talker(" + this.talker.getCallbackUrl()...

Ajax GET requests: use parameters or put data in URL?

What's the advantage of passing data as parameters vs part of the URL in an Ajax GET request? Using parameters: var ajax = new Ajax.Request('server.php',{ parameters: 'store=11200&product=Meat', onSuccess: function(myData){whatever} }); Using URL: var ajax = new Ajax.Request('server.php?store=11200&product=Meat',{ onSucc...

Asp.net Page Management

When you open a page in the browser, an instance of the page is created on the server. But, when you use AJAX, does anyone know if the entire page object is created at the server on postbacks? ...

dropdownextender Ajax tool kit

How to implement in dropdownextender to go to the selected item by keyboard or go to items starting with 'A' when i press 'A' on my keyboard, i need it work as a normal drop down control. good reference i got from it good ideas: http://www.dotnetcurry.com/ShowArticle.aspx?ID=167 ...

Client notification, should I use an AJAX Push or Poll?

I am working on a simple notification service that will be used to deliver messages to the users surfing a website. The notifications do not have to be sent in real time but it might be a better user experience if they happened more frequently than say every 5 minutes. The data being sent to and from the client is not very large and it i...

What is the best library to create an AJAX auto-suggest textbox in a web form?

I'm creating a web application for work where the user has to enter the name of the person that requested the job. I'd like to create a simple AJAX auto-suggest dropdown so they don't need to type the entire name. On the backend, the database will provide suggestions based on previous entries. The website is built using CakePHP 1.1. ...

Is there a best practice for generating html with javascript

I'm calling a web service that returns an array of objects in JSON. I want to take those objects and populate a div with html. Let's say each object contains a url and a name. If i wanted to generate the following html for each object: <div><img src="the url" />the name</div> Is there a best practice for this? I can see three w...

Best AJAX TreeView

What are some of the better AJAX Treeviews out there that support asynchronous JSON loading. YUI TreeView seems nice, but bloated with tables, etc. ...