I have code like
var i = $(this).children().eq(0).attr('id');
I want to know that, had I already stored the id of that children div in variable called i. Or I have to write some other codes? If I have to write some other codes what it might be? As I am new to jQuery it will be very helpful if I get any suggestion.