By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,567 Members | 1,592 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,567 IT Pros & Developers. It's quick & easy.

Expand a function by calling another function

P: n/a
Hi NG,

i try to do the following:

function Init() {
alert('Anything');
}

pushInit(alert('Anotherthing'));

When i call the second function the first one must expand dynamicly.

Thx for every help
René Tuchscherer

Jul 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VK
i try to do the following:
>
function Init() {
alert('Anything');
}

pushInit(alert('Anotherthing'));

When i call the second function the first one must expand dynamicly.
....
function Init(message) {
alert(message);
}

function pushInit() {
Init('Some message');
}

pushInit();
....

.... if I got it right: if not then could you explain what does "expand
a function" mean in your context?

Jul 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.