[thelist] Javascript: run a function once a function is complete

Hershel Robinson hershelr at netvision.net.il
Mon Jan 9 06:56:08 CST 2006

> I've started working on small javascript app, what i need to do now is run a
> function once another function has completed,

> this is new territory for me so i maybe missing something very obvious, any
> pointers much appreciated.

Maybe I'm also missing something, but what's wrong with this:

function A() {

function B() {
	echo("Hey, this works!");

which runs B() at the end of A().


More information about the thelist mailing list