Mengembalikan data dengan Ajax
set the option async: false and make it non-asynchronous
Lazy Lizard
set the option async: false and make it non-asynchronous