I have 2 submit buttons in my jQuery mobile form, and I want to evoke different actions in my target php file. I did;
<form action="target.php" method="get">
<div data-demo-html="true">
<input type="search" placeholder="Enter keyword" name="search" id="search" value="">
</div>
<div data-demo-html="true">
<fieldset data-role="controlgroup">
<button class="ui-shadow ui-btn ui-corner-all" type="submit" name="suba">Action1</button>
<button class="ui-shadow ui-btn ui-corner-all" type="submit" name="subb">Action2</button>
</fieldset>
</div>
</form>
How can I distinguish between these two submit button clicks in my target php file?