-
-
What, who, where am I?!?
Craig Lotter is a web developer based in Gordon's Bay, South Africa, who seems completely incapable of shaking off that pesky inner child within, the one that forces him to love all things animated or hand drawn.
The Rugged Rock of Craig contains snippets of his life, popular culture and all the important things like anime, manga, games and comic books. The CodeUnit of Craig on the other hand contains the more serious stuff like code snippets and tutorials, while the House of C chronicles his foray into the world of web comics.
For which it never seems he has enough time anyway.
-
Rugged Rock Studio
- CodeUnit Collections
- Funakoshi Karate International South Africa
- Rugged Rock Studio: The Portfolio of Craig Lotter
- The Codeunit of Craig
- The House of C
- The Rugged Rock of Craig
Tag Archives: checkbox
jQuery: Invert a Selection of Checked Checkboxes
If you have a group of checkboxes on a page, sometimes it is quite nice to give the user some quickfire controls that allows him to select all or select none at a click of a button. Similarly, it is pretty cool to give him the option of inverting his current selection, in other words checking all of those checkboxes currently unchecked, while unchecking all the currently ticked checkboxes. Continue reading
Posted in Technology & Code, Tutorials Tagged checkbox, checked, invert, jQuery, ticked View Comments
jQuery: Count the Number of Checkboxes Checked on a Page
To return the number of checked or ticked checkboxes on a page using jQuery is in actual fact pretty simple. By making use of the special :checked selector and combining it with the standard length property. Continue reading
Posted in Technology & Code, Tutorials Tagged checkbox, checked, count, jQuery, ticked View Comments
jQuery: Checking or Unchecking All Checkboxes
Providing functionality to check all, uncheck all or even to invert the checkboxes currently selected on a page is pretty simple to achieve with either plain old JavaScript or the newer, more flashy jQuery library. Continue reading
Posted in Technology & Code, Tutorials Tagged check, checkbox, code sample, invert, invert selection, jQuery, select all, select none, tickbox, tutorial, uncheck View Comments
jQuery: How to check and uncheck a Checkbox
Checking and unchecking, or ticking and unticking if you prefer, checkboxes using jQuery is remarkably simple. Continue reading
Posted in Technology & Code, Tutorials Tagged check, checkbox, jQuery, tick, uncheck, untick View Comments