Try this,
<asp:textbox id="txtNumPol" runat="server" width="20%" onkeyup="product(this)" xmlns:asp="#unknown">
</asp:textbox>
function product(_control1)
{
var a = _control1.value;
var b= document.getElementById("_control2").value;
document.getElementById("_return").value=a*b;
}