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 Subtract 2 Count Values Using SQL Statements

If you’re developing an application that makes use of SQL statements, you may come across a time when you’ll require to count() values from a table. You may also come across a time when you’ll need to subtract a count() value from another. The good news is that you don’t have to retrieve both count() values separately and then subtract them in your application’s code – you can actually just use a single SQL to obtain this value, and this

Continue Reading

How To Find Out What’s Locking Files or Folders in Mac

One of the first problems that I came across the Mac was the “File in use” error that occurred whenever I tried to unmount a hard drive, or unmount a USB thumb drive. It was annoying because I didn’t know how to find the source. In Windows, I would face the same problem too, but I had a program that I used to tell me the offending application. It was handy because it would show me what exactly was locking

Continue Reading

The Top Free Backup/Sharing Service (With Some Ingenius and Creative Ideas!)

I wasn’t a Dropbox convert until recently, because I didn’t understand what the big deal was with it, but I’ve tried it recently because of a school project, and it’s like I’ve seen the light! When I first signed up for the service (it’s free), I just used the web-based interface. However, I needed to share files, and the web-based interface was just too clunky. It was just after one day that I installed the Windows application. Normally, I have

Continue Reading

How To Select Columns of Text in Your Browser (FireFox)

This is a neat trick for copying columns of text from a table into some other application. This is particularly useful when you don’t need the whole table of information, and just want one column or several columns (e.g. just the usernames from a list of members). I haven’t tried it on other browsers, but it works for me in Firefox 3.6.2. (Another reason why I love Firefox – it’s just so full of functionality). I’m particularly impressed that it’s

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.