Check out the WordPress Dictionary Plugin!

Tag: JavaScript


Toggle (enable and disable) a form field with a checkbox: JavaScript 101

Posted on 23rd July, by Anne in Development, JavaScript. 7 Comments

EDIT: First and foremost I am a small business web consultant. If you are a small business owner or know a small business owner, be sure to check out my new blog series called The Small Business Website Guide for Small Business Owners or follow me on Twitter or Facebook for free updates and tips on how to create, shape and grow a small business website.

Today at work I was creating a form. I’m not a big JavaScript buff, but one of my tasks was to use a checkbox to toggle a form field between “enabled” and “disabled”. So, after browsing the web for a solution, I decided it would be simpler to roll up my sleeves and get dirty writing my own function.

Here is what I came up … Read More »