jQuery UI Autocomplete Widget with Perl and MySQL

As a follow up to the jQuery UI Autocomplete Widget with PHP and MySQL post, I did one with Perl as the backend. The jQuery UI folks have released an autocomplete widget that is pretty slick. This example uses Perl as the backend. This example will use US states and territories to populate the autocomplete. read more »

jQuery UI Autocomplete: Search from Beginning of String

The default functionality of the jQuery UI autocomplete will match text input against any part of a string in a searched data set. If you want to exclusively search from the beginning, you have to make some adjustments. Remote Datasource If you are using a remote datasource that queries a database, you can adjust your read more »

Required Field Validator for Checkbox in ASP.NET

Unlike other form fields, ASP.NET does not have a required field validator control for checkbox. You have to roll your own with a custom field validator. Quick and easy example straight from Microsoft: Checkbox Control Custom Validator Do not forget to put the validation function name in the OnServerValidate attribute. Validation Code Not that hard, read more »

Media Query Playground: Rotate, Resize, Rinse, Repeat

The media query playground demonstrates the effect of different media query settings. It provides an introduction into how media queries affect design and allows you to adjust various values to try them out on your desktop or phone. It is a media query test area where you can change the media query values on the read more »

Android Changes Width from 800 to 533 on Refresh

Android’s stock browser is changing the screen size it reports on page load when the <meta name=”viewport” content=”width=device-width”> is present on the web page. First load of the page in landscape produces a screen size of 800×480 (width x height) and portrait produces 800×1183 (height may be adjusted for address bar). With the meta viewport read more »