I have an external javascript that I need to run on a button click. How would I go about doing that?
<script type='text/javascript' src='http://tracking.somedomain.com/include.js?
domain=www.somedomain.com'></script>
<script type='text/javascript' >
if(typeof sWOTrackPage=='function')sWOTrackPage();
</script>
I need this to run on the click of an html button. Any suggestions?