Calling multiple functions onclick of radio buttons

HTML code:

<div onclick=”(function(){showSelect(); showHelp();})();”>Click ME!</div>

Javascript function

<script type=”text/javascript”>

function showSelect() {
alert(‘showSelect’);
}

function showHelp() {
alert(‘showHelp’);
}

 </script>

Advertisements