Hello,
I have two javascript function one function call in form tag onsubmitt="my fun" and i want to call second function where we call and how?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ramya bharathRank #3,780 · 391 reputationPosted Apr 17, 2015, 4:28 PM EDT
Khargesh RajputRank #616 · 3.9K reputationPosted Apr 17, 2015, 7:45 PM EDT
e.g.
I have a function to close popup i.e. named closepop()
and inside this function i want to also clear all controls on that popup
so i can call a function to clear all controls
function closepop()
{
var frame = $get('ifrvideo');
frame.src = "";
Clearcontrol();
}
second function
function Clearcontrol()
{
//code
}