I just want to know how to call a javascript function inside another function.
If I have the code below, how do I call the second function inside the first?
function function_one()
{
alert("The function called 'function_one' has been called.")
//Here I would like to call function_two.
}
function function_two()
{
alert("The function called 'function_two' has been called.")
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…