Cek Kondisi Checked di Javascript

Cek Kondisi Checked di Javascript

Contoh 1: <script type="text/javascript">     function validate() {         if (document.getElementById('remember').checked)...
Disabled Object Menggunakan CSS

Disabled Object Menggunakan CSS

Disabled object: <!DOCTYPE html> <html> <head> <style>  input[type=text]:enabled {background: #ffff00;} input[type=text]:disabled...
Disabled Object Menggunakan Javascript

Disabled Object Menggunakan Javascript

Disabled object: $('.element').prop('disabled', true); // The following do not require jQuery $element.get(0).disabled = true; $element.get(0).setAttribute('disabled',...