Posted By

reynish on 05/07/11


Tagged

form select input option


Versions (?)

If selected option value contains....


 / Published in: JavaScript
 

  1. $('.convictionCode').change(function(e) {
  2. var thisVal = $(this).val();
  3. if (thisVal == 'Something') {
  4. // True
  5. } else {
  6. // False
  7. }
  8. });

Report this snippet  

You need to login to post a comment.