New jQuery Plugin - $.frameReady()

Posted by daemach on April 16, 2007

frameReady lets you run jQuery commands in a target frame as if it were in the local document. It works much like the $(document).ready() function, waiting until the DOM is ready in the target frame before attempting to run your code. It will also load jQuery in the target frame for you if it doesn’t already exist and allows you to load other script files and stylesheets easily. frameReady supports nested frames and iframes in any combination, even dynamically created frames.

Usage: $.frameReady(function (Function) , target (String) [, options (Object) ]) Continue reading…

New jQuery Plugin - autoSave()

Posted by daemach on March 28, 2007

autoSave is the result of one too many user complaints about losing data due to session timeouts, power outages, meteor strikes and other issues beyond my control. You can feed it one or all of your form fields and it will do an ajax post to your server whenever any of those values change, with a delay built in for text-type fields to minimize the number of ajax calls your application makes. Continue reading…