find td of the current tr

find td of the current tr

Hi,

I wrote this code :


it's working fine, the console display what is expected.

but when I run it in my machine (not in jsfiddle) I got null for both of them.

here is the markup of my page :


Thanks.