+2  A: 

Since you have a break element following the image, you'll need to use nextAll and select the first DIV instead of simply using next with a filter as in my original answer.

$('.imgOpenClose').click( function() {
    $(this).nextAll('div:first').toggle();
});
tvanfosson
Shouldn't that be $(this).next('div') instead?
markusk
@markusk -- good catch, I thought the DIVs were all at the same level.
tvanfosson
alert($(this).next('div').html()); => returns null
uzay95
@usay95 -- see my updated answer
tvanfosson
thank you very much. it works...
uzay95
+1  A: 

If you have several images with the same class-tag, you can still do it without having to append a unique id:

$(function() {
    $('.imgOpenClose').click(function() {
        $(this).next('div').children('table').toggle();
    });
});
Tomas Lycken
As you see div before table has display property as none. Thats why, i should toggle div tag. But alert( $(this).next('div').html() );returns null. Why jquery couldn't find next div ?
uzay95
next is next sibling only. If it is not a div then it will be null. the filter for next is so you can say give me the next sibling but only if it is a div.
redsquare