I have javascript function to hide or show element but it's not working:
function detail(e) {
var parent = e.parentNode;
var next = parent.nextSibling;
if (next.style.display == 'none') {
row.style.display = '';
} else {
row.style.display = 'none';
}
}
can anyone help me about this problem ?
thanks