1 2 3 4
def self.capture_system(*args) args = args.flatten.compact.collect { |arg| arg.to_s } return false if args.blank? ...
1 2 3 4
$('login_email').observe('click', function(event){ element = event.element() element.value = ''; ...
JavaScript Prototype form functions
I'm thinking there's gotta ...
1 2 3 4
class Asset < ActiveRecord::Base belongs_to :account belongs_to :asset_type ...
Ruby Advanced search form & ...
by Erez Ben Shoham,
March 16, 2009 11:33,
3 refactorings, tagged with named_scope, search, form, model
I have an Asset model in a ...
1 2 3 4
// form fields var address = $("#address"); var zip = $("#zip"); ...
JavaScript Perform AJAX request when t...
If three fields (address, z...
1 2 3 4
<?php ob_start(); include_once "include/config.php"; ...
PHP Login / Registration - be e...
by Memf,
December 12, 2008 16:56,
1 refactoring, tagged with register, login, script, form, ajax, registration
be easier?
(login and Re...
1 2 3
//function that loops through the elements function __validateForm(theform){ ...
JavaScript Simple form validator with ...
by eljota,
November 11, 2007 10:32,
5 refactorings, tagged with js, javascript, form, validation, regex
This is a real simple form ...
Is there a shorter way to d...