Here is a simple little snippet that uses jQuery to enable or disable text input boxes in forms using a checkbox. When disabling the text boxes it prompts you to confirm it so that you don’t accidentally delete your data. This might be useful for forms elements that need to be enabled or disabled when a certain checkbox is checked like in a options page. The code itself is quite self-explanatory but please feel free to ask if you are having any problems. This script has now been included in wow playground with new and updated features.
jQuery is one of the most used frameworks there is and it is renowned for being simple, flexible and easy to learn. There are literally hundreds, if not thousands of plugins to choose from. Here are a few plugins that I have previously used or would definitely use in the future. I hope you enjoy them!
I have been learning jQuery alongside PHP to help with my event manager project. Here is a tutorial on how to get the values of a checkbox array, post it via a jQuery Ajax call and subsequently delete the values from an MYSQL database. This tutorial also makes use of the jQuery UI which we will use to display our dialogues. This script has now been included in wow playground with new and updated features.
Following on from getting to grips with PHP Checkboxes I decided to write a little tutorial on radio buttons. As you know radio buttons can only have 1 state either on or off and only one can be selected at any one time. Here is a simple tutorial on how to get data from a database, select the radio button, get data from the form and update the database. If you have previously read and completed the setup procedure the process is the same so you may want to go straight to the code. This script has now been included in wow playground with new and updated features.
The aim of this tutorial is simply to get the data from a checkbox or checkboxes and store it in an MYSQL database and on page load, the data is retrieved from the database and is shown which would be suitable for an options page in a PHP script. This script has now been included in wow playground with new and updated features.
Following my previous post how to display twitter posts on your site. I decided to tweak it further by adding a time since function and I have also renamed it WOW Tweet Show. This script has been depreciated in favor of the the new Twitter API. Check out WOW-Multi-Twitter 2.0
I have been searching for an Event Lister for a while now. I just wanted something simple and free. All I could find were gig organisers for bands or commercial scripts. That was up until I came across a Basic PHP Events Lister from Mevin.com.