I am having a function like this in one of the script file,
function ex(data){
//do something
}
I want to call this function from another script file with parameters. What should be the correct approach? I went through this which is having many solutions, I tried them all but all are working in mozilla only.
Also I am new to javascript/jquery so please pardon my silly mistakes if any.