I know it sounds a little bit strange, but I want a javascript function to be executed without being called by an onclick() onblur() onchange or anything like this.
My program is divided by many IFs. If a certain IF is executed, then I know that the javascript function should be executed, but there is not any HTML element that calls it.
This is in HTML.
Any idea?
Thanks
<IF>.