How To Check All Checkboxes In A Form With Javascript

I had an application that had a long list of checkboxes in a form. I wanted the ability to check all the checkboxes at once, or uncheck them at once. However, after googling for a solution, it seemed that all of them required me to label all my checkboxes with the same name. The nature of my application didn’t allow me to do that, so I had to find my own solution. The following Javascript code allows you to toggle

Continue Reading

How To Sort A Multidimensional Array By One Element In PHP

I had a table’s worth of listings and had stored all the values in a multidimensional array in PHP. The problem was, I needed to sort the multidimensional array, but based on just one element. Here’s the easiest, fastest solution that I found from the array_multisort function page of PHP (thanks to zequez at gmail dot com!). Here’s his original solution taken from that page: $multiArray = Array( Array("id" => 1, "name" => "Defg"), Array("id" => 2, "name" => "Abcd"),

Continue Reading

The Best, and Loudest Alarm Clock Invention – The Screaming Meanie Review

I have trouble waking up, so I need an alarm clock that’s a little more effective than your average clock. So I did some sourcing around, saw a few promising ones, but finally settled on this…. The SCREAMING MEANIE. Just the name alone will strike fear into any sane person! The Screaming Meanie has two versions, the Screaming Meanie 110 and the Screaming Meanie 220. The 110 offers just a timer function, while the 220 offers the alarm clock functionality.

Continue Reading

Site Footer

Sliding Sidebar

Disclaimer

The contents on this blog are not intended as professional advice. The author disclaims any liability, loss, or risk taken by individuals who directly or indirectly act on the information contained on this blog.