Better finding of input div in hide_input()