Version | API |
---|---|
7.3 |
20180731 |
7.4 |
20190902 |
8.0 |
20200930 |
8.1 |
20210902 |
8.2 |
20220829 |
8.3 |
20230831 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<option value="Johor">Johor</option> | |
<option value="Kedah">Kedah</option> | |
<option value="Kelantan">Kelantan</option> | |
<option value="Kuala Lumpur">Kuala Lumpur</option> | |
<option value="Labuan">Labuan</option> | |
<option value="Melaka">Melaka</option> | |
<option value="Negeri Sembilan">Negeri Sembilan</option> | |
<option value="Pahang">Pahang</option> | |
<option value="Penang">Penang</option> | |
<option value="Perak">Perak</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#ic1,#ic2,#ic3').keyup(function(){ | |
/*get value from form*/ | |
var dob = $('#ic1').val(); // eg: 850510 - 10/05/1985 | |
var code = $('#ic2').val(); // eg: 14 - Wilayah Persekutuan | |
var icno = $('#ic3').val(); // eg: 0000 - ic number | |
//check gender using ic number | |
if (icno % 2 == 0){ | |
$('#gender_F').prop("checked", true); | |
} |
Let's say you start a project locally, and do some editing.
$ mkdir -p ~/git/foo && cd ~/git/foo
$ touch NEWFILE
Now you decide you want to create a new github repo and track it, but the directory is non-empty so git won't let you clone into it. You can fix this, thusly: