Profile
Achievement
kendsnyder's Recent Snippets
- All /
« Prev 1 Next »
jQuery plugin to save individual form fields each time something changes. Usage: `$('#MyForm').autosave(url, options);` where `url` defaults to form.method and `options` defaults to $.fn.autosave.defaultOptions
(UNTESTED)
0
794
posted 12 years ago by kendsnyder
Given an iframe element and a header element, make the iframe just high enough to fit in the browser window. On window resize, readjust. Keep a minimum height for the iframe.
0
935
posted 13 years ago by kendsnyder
Plugin to get and set Element#style.display (e.g. "none" or "")
0
793
posted 13 years ago by kendsnyder
Ruby uses created_at and updated_at. Here cake will do the same thing.
based on http://book.cakephp.org/view/1015/created-and-modified
0
957
posted 13 years ago by kendsnyder