send output to a div