Be careful when using buttons without a type attribute, since browsers will consider them the default submit button of a...

This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...

The CSS property z-index is not as global as you might think. Actually, it is scoped to a so...

Right-click on the table Select Table... Select Text flow Uncheck Allow row to break across pages and columns

If you paste multiple lines of text into a cell, Calc's AutoCorrect will change the first character of the...

Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...

Angular 1.3+ has an alternative getter/setter pattern: You can bind ng-model to an accessor function. This is a function...

This step will pass if the specified select is sorted. Then /^the "(.*?)" select should be sorted$/ do |label, negate|

airpair.com

In the Controller: // Instead of doing this: app.controller('TodoCtrl', function ($scope) { $scope.input = 'ex. buy milk'; }); // Do this: app.controller('TodoCtrl', function...

Right-click on the frame Select Frame... Open Background Set As to "Color" Set the background color...

makandra dev
github.com

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...

When putting phone numbers into web pages, you should use tel: links so smartphone users can click those numbers to...

A great two-part article about various hacks you can use to create great-looking screen designers when you're...

Browsers make this very hard. Even when you explicitely set the selection inside the textarea (e. g. using jquery-fieldselection...

We upgraded a Rails 2 application to Rails 3.2 and Ruby 2.1, changed the mysql adapter from mysql to mysql2...

In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...

Capybara will fail to find tags that are missing an href attribute. This will probably happen to you every now...

Nearly all jQuery traversal functions ignore elements that are not HTML tags. To work with other type of nodes (like...

When you have an Angular directive that transcludes content, you might want to do something in case there is no...

Code snippet tested with Rails 2.3 def index # ... if request.xhr? html = render_to_string(:partial => "list", :layout => false) respond_to...

makandra dev
plugins.jquery.com

SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...

When your Rails controller action responds with only a simple text, render text: 'Hello' may not be what you want...

I use this to simulate the (non-existing) :last-letter CSS pseudoclass, e. g. to insert a tombstone at the...

Since version 34, Chromium/Chrome ignores the autocomplete="off" attribute on forms or input fields. Recent versions of other browser do...