Stump of a Muffin

Month: September 2010

jQuery – Selectbox Validation

I needed to validate two sets of selectboxes within a single form. ¬†Each pair represented a minimum and a maximum. Here is the complete script http://muffinstump.ca/selectbox_validation.php. The following is the jQuery set-up: <script language="javascript" type="text/javascript"> $(document).ready(function(){   $('#tabs').tabs();   $("#alert_AB, #alert_CD").dialog({       buttons: {         Ok: function() {           $(this).dialog('close');         }       },       autoOpen: false,       show: 'blind',       hide: 'explode'     });   $('#selectboxA,…