Write a function multiple that determines, for a pair of integers, whether the second integer is a multiple of the first. The function should take two integer arguments and return true if the second is a multiple of the first, and false otherwise. Incorporate this function into a script that inputs a series of pairs of integers (one pair at a time). The XHTML form should consist of two text fields and a button to initiate the calculation. The user should interact with the program by typing numbers in both text fields, then clicking the button.

<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>MultipleOf</title>
<script type="text/javascript">
<!--
function multiple(f1,s1)
{
if(s1 % f1 == 0)
{
document.getElementById("ans").value=true;
}
else
{
document.getElementById("ans").value=false;
}
}
// -->
</script>
</head>
<body>
<h1>MultipleOf</h1>
<hr />

<p>Press F5 or Refresh to load script again. This is a program to check whether Second Number is Multiple of First Number</p>
<form name = "multiply" action = "">
<table border = "1">
<caption>Multiple</caption>
<tr><td>Firt Number</td>
<td><input name = "first" type = "text" />
</td></tr>
<tr><td>Second Number</td>
<td><input name = "second" type = "text" />
</td></tr>
<tr><td>Answer</td>
<td><input name = "ans" type = "text" disabled="disabled" />
</td></tr>
<tr><td><input type = "button" value = "Calculate"
onclick = "multiple(document.multiply.first.value,document.multiply.second.value)" /></td></tr>
</table>
</form>
</body>
</html>