Right now, I'm using the following bit of code to get only the values โโof checked flags, however I'm sure there is an easier way to do this.
if ($('#OPTtags-adventure-diving').is(':checked')) { var OPTtags-adventure-diving = $('#OPTtags-adventure-diving').val() } else var OPTtags-adventure-diving = ''; if ($('#OPTtags-master-scuba-diver').is(':checked')) { var OPTtags-master-scuba-diver = $('#OPTtags-master-scuba-diver').val() } else var OPTtags-master-scuba-diver = '';
Whether there is a?
Wonderful
Robin knight
source share