Tag Archives: tutorial

jQuery: Get all Selected Values or Text from a Multiple Select Listbox

Grabbing all the selected values or even text values from a multiple select listbox turns out to be quite simple if you know which tools to use. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , , | 9 Comments

SQL: Return all the Names when you have all the IDs

I have all the ID values for wildlife parks but instead of displaying the ID values I want to display the park names. These are stored in a table that has two fields, namely ID and the corresponding display name. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | Leave a comment

Remove all Listbox and Dropdown List Items with jQuery

Today’s little code snippet is going to look at removing all the options from a select dropdown list or listbox, on the fly and using jQuery. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | 3 Comments

jQuery: Select all options in a Multiple Select Listbox

Sometimes it is nice to present a multiple select listbox to a user with everything already selected. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , | 5 Comments

PHP: How to add a Hour to the Current Time

Adding an hour to the current time turns out to be pretty easy thanks to the fantastic strtotime PHP function. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | Leave a comment