[jQuery] passing a function to a function with variables

[jQuery] passing a function to a function with variables


Hey guys and gals,
I am trying to do something like below:
buildDialogBox({u:'oba_1_2',f:loadJson('userlist.txt',
buildUserManageTable),d:'formDialog600'});
and have loadJson('userlist.txt', buildUserManageTable) run after the dialog
box loads, but it gets executed and then the buildDialogBox function get
executed. I know this is done in a bunch of plugins with call back, but I
just cant figure it out.
Thanks,
Let me know if I did not make sense.
Ben
--
View this message in context: http://www.nabble.com/passing-a-function-to-a-function-with-variables-tf3365006.html#a9362199
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/