The below will target a div and make it appear and disappear depending on what is selected in another field.
~[wc:commonscripts]
<script>
$j(function($){
$j("#ELStatusField").change(function() {
if ($j(this).val() == "01" || $(this).val() == "06") {
$j('div#AccessEllsDiv').show();
$j('#AccessElls').attr('required', '');
$j('#AccessElls').attr('data-error', 'This field is required.');
} else {
$j('#AccessEllsDiv').hide();
$j('#AccessElls').val("");