Sep
28
Posted on 28-09-2006
Filed Under (AJAX ) by jay

This is a quick little tip on how to pass more than one Form Element to the Ajax.Updater function in Prototype.

This came about because I wanted to do a form POST and not a GET with several Form fields but the only documentation on the internet explained how to send ONE Form field.

It's very simple but it took me a while to really get it right.
Here is a snippet:

JavaScript:
  1. var params = 'title='+txtTitle+'&description='+txtDesc+'&link='+txtLink+'';
  2. new Ajax.Updater('statusMessage','myphppage.php?myparam=save_item, { method:'post', parameters:params,asynchronous:true,  onSuccess:handlerSaveChannel });

This code is using the Ajax.Updater to send a POST to a php page with 3 form fields to be processed. As an added tip I am sending my request to a page and I am using a URL Parameter to tell that page which function to run: myparam=save_item.
Read the rest of this entry »

(2) Comments    Read More   
Sep
01

For about 5 seconds I was excited about The Ajax Experience Conference, not because it's about Ajax but because it's in Boston, until I saw the price to attend.

$1,250 If you pre-register before Sept 26.
$1,450 After that.

$1,250!! $1,450!!

For a conference!?

It's not like this is TechED or the Hooters Waitress convention. It's just Ajax.

This is obvisouly an attempt to extort just a bit more money before this over-hyped technology implodes.

What a rip-off: $1,450.
Read the rest of this entry »

(0) Comments    Read More   
May
30
Posted on 30-05-2006
Filed Under (AJAX ) by jay

In this HOWTO I will explain how to use AjaxAgent and PHP to create an Ajax Auto-Compltete box with a drill-down list of data. Although the state of this Ajax Framework is questionable it is so far the simplest and easisest framework I have found.
Read the rest of this entry »

(2) Comments    Read More   
May
18
Posted on 18-05-2006
Filed Under (AJAX , C# , HOWTO , Programming ) by jay

Over the past few months I have been toying with Ajax and .NET via the Ajax.NET Professional Library and my first few attempts left me feeling that Ajax was not very useful. Then I recently had a specific task to complete and it seemed to be a perfect candidate for Ajax. The task was very simple, get a list of Albums by an Artist. This functionality is of course part of a much larger on-line music app I was constructing but I needed to start with something small. The UI was very simple a TextBox to enter an Artists’ Name and a Table to display the Albums. Since this was such a simple task I decided to spice it up with some AJAX.
Read the rest of this entry »

(1) Comment    Read More