2 form
by bvotcode
HTML
<html>
<body>
<h1>Select button </h1>
<form method="get" id="form-one" action="">
<form method="get" id="form-two" action="" style="display:none">
<button name="subject" type="submit" id="button-one" value="aa" formaction="https://thanhnien.vn/">Page A</button>
<button name="subject" type="submit" id="button-two" value="bb" formaction="https://vnexpress.net/" >Page B</button>
</form>
</form>
</body>
</html>
JavaScript
$("#button-one").click(function(){
$('#form-one').show();
$('#form-two').hide();
});
$("#button-two").click(function(){
$('#form-one').hide();
$('#form-two').show();
});