| permisi..mau nanya..apakah Ajax bisa diakses secara pararel ? Mis : ada 3 buah task yg sekaligus mengakses fungsi Ajax..apakah tu bisa ? |
|
| didalam ajax ada perintah asyn or syn. km bs bikin dia gk paralel lho.. tp pertanyaannya untuk task apa aja? |
|
| misalnya input data barang gt...biar cpt pake ajax...tp kalo ngesend kan g lngsung masuk ke dtabase..jadi sprti ini kira2 : 1. input a1 2. a1 lg send 3. input a2 pdhl a1 lg proses send 4. a2 lg send dan a1 lg send 5. a1 sudah tersend, a2 lg send 6. a2 sudah tersend Kira2 gt..bisa ?Jadi dia numpuk2 gt tp bisa sending smuanya |
|
| baca ttg proses asynch di ajax |
|
| memang apa bedanya antara ascync dan sync scr umum ? |
|
| By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: "jsonp" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active |
|
| By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: "jsonp" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active |
|
| async artinya.. ketika proses 2 jalan maka proses sampe selese baru lanjut no 3 dan 4.. krn data yg dikirim gk besar, maka proses akan cepat.. |
|
| ascync yg harus nunggu satu persatu ?sync yg kirim" trus g nunggu ?Defaultnya async ? |
Tidak ada komentar:
Posting Komentar