Testing Sanity

The core task of software development is sanity testing.

  • warning: Parameter 2 to gmap_gmap() expected to be a reference, value given in /home2/thepalls/public_html/cgpsoftware/includes/module.inc on line 483.
  • strict warning: Non-static method view::load() should not be called statically in /home2/thepalls/public_html/cgpsoftware/sites/all/modules/views/views.module on line 879.

History and Autocomplete

22 Jun 2010
Posted by cgp
I did a fun little ditty here that does a combination of autocomplete and history. Using the jQuery UI (1.8) framework, it seems to work pretty well. Basically, the text box tracks what you enter into it in a cookie. Cookies can range in size from 2k-4k, so this is probably adequate for my purposes. Chrome has a 4k limit. I guess the advanced version would be to use local storage. (checks the HTML5 support list)
Use the up arrow to invoke the history:
Modify History and Autocomplete:
(not tracked by cookies)
(tracked via cookie)
(clear the cookie)