Has anyone got this working and could share it with me?
This is a part of the code I am using in the hooks file under function tablename_dv
Code: Select all
$html .= <<<EOC
<script>
\$j(function(){
\$j('#Name').prop('readonly', true);
\$j('#Date').prop('readonly', true);
})
</script>
EOC;
Code: Select all
\$j('#DateDay').prop('disabled', true)
\$j('#DateMonth').prop('disabled', true)
\$j('#DateYear').prop('disabled', true)