how to call both php function and javascript function for a click of a single button?
<p>For the click of a button I have Validate the page through the Javascript and I have compare the data selected in the dropdown list with the database, that too before the page submit to the server.</p>

<p>So I am planning to call two functions (Javascript and php function) for click of a single button.</p>

<p>Is my approach (solution) is right or is there any other ways.
Thanks in advance..</p>
