Languages

Easy javascript AJAX with Mootools

We most used Ajax requests the following snippet of code will make your life easier. Mootools “Request” function is used in this code. The next article in this function we’ll see how ASP.NET.

Sensei = {};
Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) {
if (retryCount == null) retryCount = 0;
var jsonRequest = new Request(
{
[...]

Select box styling with mootools (fake combo)

As you know, ’select box’ is a special control and its style cannot be changed very much. For example the height property can be changed in Firefox, but it can’t be changed in IE. Instead of creating a formal select box, our aim is to create a virtual select box whose properties can be adjusted. [...]