Revision: 45781
Updated Code
at September 15, 2011 21:10 by reynish
Updated Code
$('.convictionCode').change(function(e) { var thisVal = $(this).val(); if (thisVal == 'Something') { // True } else { // False } });
Revision: 45780
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 7, 2011 19:37 by reynish
Initial Code
$('.convictionCode').change(function(e) { var ddVal = $(this).val(); // I had to slice the last 2 characters from the value var ddSel = ddVal.slice(0, 2); if (ddSel == 'DR') { // True } else { // False } });
Initial URL
Initial Description
Initial Title
If selected option value contains....
Initial Tags
form
Initial Language
JavaScript