background preloader

Ajax

Facebook Twitter

PlayFramework recipe: Reusable ajax Tags. HaveLet’s say it: Play! And Rails do have similarities. One thing I always liked of my Rails friends where the ajax tags. So I port them (or some of them) in Play! Here the svn url to check out the Play! Module. All these tags are based on JQuery Link opens a remote url in a page div with a fancy fade out - fade in effect and has the following parameters: update: the id of the div to be updatedurl: the remote url to be called. can be a reverse such as @Controller.action(params…)Select the everyone favorite!

Have Fun! The DWR Library - Map Javascript to Java Objects - TechnoLog. Jawr: Jawr - More than a Javascript/CSS compressor. Transparent Message. Ten Javascript Tools Everyone Should Have. Filed: Sun, Mar 04 2007 under Programming|| Tags: toolbox javascript popular list Javascript frameworks have exploded on the scene over the last few years but they're no replacement for a good toolbox: those little snippets of code you seem to include in every single project. Here's my list of 10 essential Javascript tools everyone should have at their fingertips! #0 - Trim. Trim is one of the things that leave you scratching your head wondering why it was never included in the language to begin with. String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,""); } String.prototype.ltrim = function() { return this.replace(/^\s+/g,""); } String.prototype.rtrim = function() { return this.replace(/\s+$/g,""); } Usage… var test = " Test "; var test1 = test.ltrim(); // returns "Test " var test2 = test.rtrim(); // returns " Test" var test3 = test.trim(); // returns "Test" #1 - Numeric Sort.

Javascript's Array object has a sort() method, and a pretty quick and fast one at that. Todoist. COWS Ajax. AjaxTags: Home. Web Toolkit - Build AJAX apps in the Java language. Tudu Lists - Tudu Lists.