multiple functions in one onClick
<p>I want to execute two functions in one onclick, </p>

<p>below my code:</p>

<pre><code>&lt;Script&gt;

function checkSubmit(){

if(confirm('Are you sure you want to submit the data?');)
    sendData();
}

&lt;/Script&gt;
</code></pre>

<p>The button: </p>

<pre><code>&lt;input type="submit" id="send_data"  class="send_data" value="Send" onclick="checkSubmit()"/&gt;
</code></pre>

<p>It is not executing the sendData() function, any ideas how to execute the two function under one onclick?</p>
