|
| 26 Dec 2014 02:47 PM |
function hi(){ for (i=1;i<10;i++){ console.log(i); }} hi().done(function(){alert("done")})
i want it to when hi() is finished it alerts done
halp
also send trades / poor/rich = coinman001 |
|
|
| Report Abuse |
|
|
ZOOT116
|
  |
| Joined: 05 Jun 2014 |
| Total Posts: 614 |
|
| |
|
iDoog
|
  |
| Joined: 12 Dec 2010 |
| Total Posts: 25191 |
|
|
| 26 Dec 2014 02:49 PM |
Idfk
Go to scripture helpers or something |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 02:53 PM |
function hi(){ for (i=1;i<10;i++){ console.log(i); }} $.when(hi()).done(function(){ alert('done') })
I am DreamSlide/askshane. |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 02:54 PM |
bump
also send trades / poor/rich = coinman001 |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 02:58 PM |
majestic
says undefined is not a fucntion i think
also send trades / poor/rich = coinman001 |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 03:02 PM |
no it doesn't I tested it
I am DreamSlide/askshane. |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 03:06 PM |
maj party m,e pls
also send trades / poor/rich = coinman001 |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 03:09 PM |
I can't stand parties and I have to go to the store anyway just pm me and i'll message you back when I can
I am DreamSlide/askshane. |
|
|
| Report Abuse |
|
|
call23re
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 9070 |
|
|
| 26 Dec 2014 03:13 PM |
Majestic's code should work.
-"The wise never quote." |
|
|
| Report Abuse |
|
|
Acmic
|
  |
| Joined: 04 Oct 2008 |
| Total Posts: 47963 |
|
| |
|