I searched for this topic but they all mention including in HTML file which I do not have. I am working only with js files in some php application-so NO HTML!
I have js file 1.js
function check_custom_data()
{
YAHOO.SUGAR.MessageBox.show({msg: 'Fodo', type: 'plain'} );
}
This YAHOO function is defined in some 2.js file. (on example path is /custom/2.js
)
How to include it?
Thank you