How to validate SelectMenu using Validate plugin?

How to validate SelectMenu using Validate plugin?

Hi there

I'm having a problem to validate the SelectMenu using Validate plugin (scripts/jquery.validate.js) if there is a blank.

The selectmenu is dynamically created:

  1. $('#zone_ddl').append('<option>Select Zone</option>');
  2. $.each(result, function(i, row) {
  3. $('#zone_ddl').append('<option value=' + row.zoneid + '>' + row.zonename + '</option>');
  4. //zonelistoptions.append($("<option />").val(row.zoneid).text(row.zonename));
  5. });

I believe this something to do with the value is wrap in <span class="required">Select Zone</span>

How do I validate this then?

Thanks