Set a checkmark in a category based on a URL-parameter

I figured it out myself, but by using several different small things. I’m sorry to ‘steal the credit’, – but I can’t remember all the sources used: This is the JavaScript: jQuery(document).ready(function() { function GetURLParameter(sParam) { var sPageURL = window.location.search.substring(1); var sURLVariables = sPageURL.split(‘&’); for (var i = 0; i < sURLVariables.length; i++) { var … Read more