Se usi php come linguaggio lato server, puoi fare come segue.
Codice PHP:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
</style>
<script>
</script>
</head>
<body>
<form action="test9362.php" method="post">
Valore :
<input type="test" value="" name="campo1"/>
<input type="submit" value="Invia" name="invia"/>
</form>
<?php
if (isset($_POST['invia']))
{
//---- codice di richiamo js/jquery/quello che vuoi
?>
<script>
alert('Scatto dopo dello submit');
</script><?php
}
?>
</body>
</html>