<!doctype html>
<html>
<head>
<script src="js/jquery/1.11.3/jquery.min.js"></script>
</head>
<body>
<form id="id-form" action="http://www.workingframe.com">
<input type="text" value="some text">
<input type="submit" value="Send">
</form>
<script>
$( "#id-form" ).submit(function( event ) {
alert( "Handler for .submit() called" );
});
</script></body>
</html>