Donate

Did you find articles useful? Please make a donation

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 = [...]

Mootools kullanarak kolay javascript AJAX

Bolca kullanığımız AJAX requestleri (post) için aşağıdaki kod parçası hayatınızı kolaylaştıracaktır. Mootools “Request” fonksiyonu kullanılmaktadır. Daha sonraki yazılarda bu fonksiyonu ASP.NET ile nasıl kullanabileceğimizi göreceğiz.

Sensei = {}; Sensei.Send = function(URL, fName, prms, retryCount, OnComplete) { if (retryCount == null) retryCount = 0; var jsonRequest = new Request( { ‘encoding’ : ‘utf-8′, method: ‘post’, [...]

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 [...]

Mootools ile özel select box (fake combo)

Bildiğiniz gibi select box özel bir kontroldür ve görünümü çok fazla değiştirilemez. Örneğin “heigth” özelliği firefox da değişmesine rağmen ie de değişmez. Amacımız select box ların yerine tüm görsel özellikleriyle oynayabileceğimiz, sadece html kodlarından oluştuğu için tüm browser larda aynı sonucu veren sanal select box oluşturmaktır. Öyle bir select box ki js yi ve [...]