I have a javascript function that updates the result of a textbox dynamically, then that textbox executes based on that value.
<script>
function updatemykad(mykad) {
$('#asd3').val(mykad);
}
</script>
The textbox loads on, on change, on paste. But it doesn't execute from the dynamically inputted value.
$('input#asd3').bind('input propertychange', function(e) {
console.log(this.value);
var $q = $(this);
if($q.val.length == 12){
....