hi,
as you are giving parameter values to the function then you should have method accepting these no. of argument/parameters as
function abc(ist, second)
{
alert(ist);
alert(second);
}
then call this method like:
<input type="button" id="test" value="Test" onclick="abc('My name', 'address');" />