This error in Firefox XML Parsing Error: no element found Location: moz-nullprincipal:{dd117028-da50-7b48-9a90-51f90c48ea9e} Line Number 1, Column 1 was seen on a xml get request using jQuery’s ajax function in this manner: The fix was making sure the XML was valid and changing the dataType to html. By the way, the ajax request to get an [...]
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. [...]
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 [...]
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, [...]
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 [...]

RSS
Twitter