"this"
will contain the
window
object, not the button inside td, you will have to pass the
button
object as the
argument
to the method and access its
parent objects
as
<input class='updateBtn' type='button' name='btn_id' value='Update' onclick='test(this)'
function test(btn)
{
var name = $(btn).parent().parent().find('td').eq(1).html()
var time = $(btn).parent().parent().find('td').eq(4).html()
alert(name);
alert(time);
}